nixpkgs/pkgs/development/python-modules/pyx/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

27 lines
516 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "pyx";
version = "0.16";
disabled = !isPy3k;
src = fetchPypi {
pname = "PyX";
inherit version;
hash = "sha256-TY4+RxzT6am9E9UIbN98CvGww/PhledPX2MxjcQKZtg=";
};
# No tests in archive
doCheck = false;
meta = with lib; {
description = "Python package for the generation of PostScript, PDF, and SVG files";
homepage = "https://pyx.sourceforge.net/";
license = with licenses; [ gpl2 ];
};
}