nixpkgs/pkgs/development/python-modules/koji/default.nix

27 lines
577 B
Nix
Raw Normal View History

{ stdenv, fetchurl, buildPythonPackage, pycurl }:
buildPythonPackage rec {
name = "koji-1.8";
format = "other";
src = fetchurl {
url = "https://fedorahosted.org/released/koji/koji-1.8.0.tar.bz2";
sha256 = "10dph209h4jgajb5jmbjhqy4z4hd22i7s2d93vm3ikdf01i8iwf1";
};
propagatedBuildInputs = [ pycurl ];
makeFlags = "DESTDIR=$(out)";
postInstall = ''
mv $out/usr/* $out/
cp -R $out/nix/store/*/* $out/
rm -rf $out/nix
'';
2016-08-02 15:34:11 +00:00
meta = {
maintainers = [ stdenv.lib.maintainers.mornfall ];
platforms = stdenv.lib.platforms.linux;
};
}