mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
pythonPackages.fedora_cert: use mkPythonDerivation, fix build
This commit is contained in:
parent
3e05cce97c
commit
e9c4d00cac
1 changed files with 3 additions and 5 deletions
|
@ -6336,7 +6336,7 @@ in modules // {
|
|||
buildInputs = with self; [ fudge_9 nose ];
|
||||
};
|
||||
|
||||
fedora_cert = stdenv.mkDerivation (rec {
|
||||
fedora_cert = mkPythonDerivation rec {
|
||||
name = "fedora-cert-0.5.9.2";
|
||||
meta.maintainers = with maintainers; [ mornfall ];
|
||||
|
||||
|
@ -6345,12 +6345,10 @@ in modules // {
|
|||
sha256 = "105swvzshgn3g6bjwk67xd8pslnhpxwa63mdsw6cl4c7cjp2blx9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ python python_fedora wrapPython ];
|
||||
propagatedBuildInputs = with self; [ python_fedora modules.sqlite3 pyopenssl ];
|
||||
postInstall = "mv $out/bin/fedpkg $out/bin/fedora-cert-fedpkg";
|
||||
doCheck = false;
|
||||
|
||||
postFixup = "wrapPythonPrograms";
|
||||
});
|
||||
};
|
||||
|
||||
fedpkg = buildPythonPackage (rec {
|
||||
name = "fedpkg-1.14";
|
||||
|
|
Loading…
Reference in a new issue