Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { lib,
- fetchPypi,
- pkgconfig,
- setuptools,
- toml,
- lxml,
- setuptools_scm,
- buildPythonPackage,
- pkgs
- }:
- buildPythonPackage rec {
- pname = "py-xmlsec";
- version = "1.3.8";
- src = fetchPypi {
- inherit version;
- pname="xmlsec";
- sha256 = "1ki5jiws8r9sbdbbn5cw058m57rhx42g91rrsa2bblqwngi3z546";
- };
- propagatedBuildInputs = [ pkgs.xmlsec pkgs.openssl pkgconfig lxml setuptools_scm setuptools toml ];
- nativeBuildInputs = [ pkgs.pkg-config ];
- preBuild = ''
- pkg-config --variable=prefix xmlsec1
- python -c "import pkgconfig; pkgconfig.parse('xmlsec1')"
- '';
- }
Add Comment
Please, Sign In to add comment