summary refs log tree commit diff
path: root/pkgs/tools/package-management
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2014-08-30 21:08:49 +0200
committerDomen Kožar <domen@dev.si>2014-08-30 21:08:49 +0200
commitb8fca7b38c38fe28dc8bfe3d3e566581f296e03a (patch)
tree19d9348ff04c61936b71868c3052b4deecb9e972 /pkgs/tools/package-management
parent33949a413c4f4ae773876ccba9036db8a694cae7 (diff)
downloadnixlib-b8fca7b38c38fe28dc8bfe3d3e566581f296e03a.tar
nixlib-b8fca7b38c38fe28dc8bfe3d3e566581f296e03a.tar.gz
nixlib-b8fca7b38c38fe28dc8bfe3d3e566581f296e03a.tar.bz2
nixlib-b8fca7b38c38fe28dc8bfe3d3e566581f296e03a.tar.lz
nixlib-b8fca7b38c38fe28dc8bfe3d3e566581f296e03a.tar.xz
nixlib-b8fca7b38c38fe28dc8bfe3d3e566581f296e03a.tar.zst
nixlib-b8fca7b38c38fe28dc8bfe3d3e566581f296e03a.zip
koji: factor python module into an standalone app
Diffstat (limited to 'pkgs/tools/package-management')
-rw-r--r--pkgs/tools/package-management/koji/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/tools/package-management/koji/default.nix b/pkgs/tools/package-management/koji/default.nix
new file mode 100644
index 000000000000..7f03ed1625e8
--- /dev/null
+++ b/pkgs/tools/package-management/koji/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchurl, pythonPackages, python }:
+
+stdenv.mkDerivation rec {
+  name = "koji-1.8";
+
+  src = fetchurl {
+    url = "https://fedorahosted.org/released/koji/koji-1.8.0.tar.bz2";
+    sha256 = "10dph209h4jgajb5jmbjhqy4z4hd22i7s2d93vm3ikdf01i8iwf1";
+  };
+
+  propagatedBuildInputs = [ pythonPackages.pycurl python ];
+
+  makeFlags = "DESTDIR=$(out)";
+
+  postInstall = ''
+    cp -R $out/nix/store/*/* $out/
+    rm -rf $out/nix
+  '';
+
+  meta.maintainers = [ stdenv.lib.maintainers.mornfall ];
+}