summary refs log tree commit diff
path: root/pkgs/applications/audio/morituri
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-08-14 13:06:42 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-08-14 13:07:26 +0200
commiteb3e23c49e4f75e20f445f618629c3aebc226b33 (patch)
tree01b94a61b32d3e7641497e33a5ca1ca1ea285718 /pkgs/applications/audio/morituri
parent57b9ff06f1ec734f9156c8b254ce3f64bd053cc3 (diff)
downloadnixpkgs-eb3e23c49e4f75e20f445f618629c3aebc226b33.tar
nixpkgs-eb3e23c49e4f75e20f445f618629c3aebc226b33.tar.gz
nixpkgs-eb3e23c49e4f75e20f445f618629c3aebc226b33.tar.bz2
nixpkgs-eb3e23c49e4f75e20f445f618629c3aebc226b33.tar.lz
nixpkgs-eb3e23c49e4f75e20f445f618629c3aebc226b33.tar.xz
nixpkgs-eb3e23c49e4f75e20f445f618629c3aebc226b33.tar.zst
nixpkgs-eb3e23c49e4f75e20f445f618629c3aebc226b33.zip
Remove top-level setuptools
See #11567.
Diffstat (limited to 'pkgs/applications/audio/morituri')
-rw-r--r--pkgs/applications/audio/morituri/default.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/applications/audio/morituri/default.nix b/pkgs/applications/audio/morituri/default.nix
index 7d7b4e47fad..b9a38ab9d03 100644
--- a/pkgs/applications/audio/morituri/default.nix
+++ b/pkgs/applications/audio/morituri/default.nix
@@ -1,8 +1,10 @@
-{ stdenv, fetchgit, python, pythonPackages, cdparanoia, cdrdao
-, pygobject, gst_python, gst_plugins_base, gst_plugins_good
-, setuptools, utillinux, makeWrapper, substituteAll, autoreconfHook }:
+{ stdenv, fetchgit, pythonPackages, cdparanoia, cdrdao
+, gst_python, gst_plugins_base, gst_plugins_good
+, utillinux, makeWrapper, substituteAll, autoreconfHook }:
 
-stdenv.mkDerivation rec {
+let
+  inherit (pythonPackages) python;
+in stdenv.mkDerivation rec {
   name = "morituri-${version}";
   version = "0.2.3.20151109";
   namePrefix = "";
@@ -14,10 +16,10 @@ stdenv.mkDerivation rec {
     sha256 = "1sl5y5j3gdbynf2v0gf9dwd2hzawj8lm8ywadid7qm34yn8lx12k";
   };
 
-  pythonPath = [
-    pygobject gst_python pythonPackages.musicbrainzngs
-    pythonPackages.pycdio pythonPackages.pyxdg setuptools
-    pythonPackages.CDDB
+  pythonPath = with pythonPackages; [
+    pygobject gst_python musicbrainzngs
+    pycdio pyxdg setuptools
+    CDDB
   ];
 
   nativeBuildInputs = [ autoreconfHook ];