koji -> pythonPackages.koji

koji is both a library and an application. It is used in Nixpkgs
primarily as a library and therefore I move it.
This commit is contained in:
Frederik Rietdijk 2016-12-01 16:36:38 +01:00
parent be020a2582
commit 74276caf19
3 changed files with 7 additions and 8 deletions

View File

@ -1,8 +1,6 @@
{ stdenv, fetchurl, python2 }: { stdenv, fetchurl, mkPythonDerivation, pycurl }:
let mkPythonDerivation rec {
pythonEnv = python2.withPackages(ps : [ps.pycurl]);
in stdenv.mkDerivation rec {
name = "koji-1.8"; name = "koji-1.8";
src = fetchurl { src = fetchurl {
@ -10,11 +8,12 @@ in stdenv.mkDerivation rec {
sha256 = "10dph209h4jgajb5jmbjhqy4z4hd22i7s2d93vm3ikdf01i8iwf1"; sha256 = "10dph209h4jgajb5jmbjhqy4z4hd22i7s2d93vm3ikdf01i8iwf1";
}; };
propagatedBuildInputs = [ pythonEnv ]; propagatedBuildInputs = [ pycurl ];
makeFlags = "DESTDIR=$(out)"; makeFlags = "DESTDIR=$(out)";
postInstall = '' postInstall = ''
mv $out/usr/* $out/
cp -R $out/nix/store/*/* $out/ cp -R $out/nix/store/*/* $out/
rm -rf $out/nix rm -rf $out/nix
''; '';

View File

@ -13575,8 +13575,6 @@ in
stdenv = overrideCC stdenv gcc49; stdenv = overrideCC stdenv gcc49;
}; };
koji = callPackage ../tools/package-management/koji { };
konversation = qt5.callPackage ../applications/networking/irc/konversation/1.6.nix { }; konversation = qt5.callPackage ../applications/networking/irc/konversation/1.6.nix { };
krita = qt5.callPackage ../applications/graphics/krita { krita = qt5.callPackage ../applications/graphics/krita {

View File

@ -13338,7 +13338,9 @@ in {
homepage = "https://github.com/twisted/klein"; homepage = "https://github.com/twisted/klein";
license = licenses.mit; license = licenses.mit;
}; };
}; };
koji = callPackage ../development/python-modules/koji { };
kombu = buildPythonPackage rec { kombu = buildPythonPackage rec {
name = "kombu-${version}"; name = "kombu-${version}";