summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-10-17 15:56:49 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-10-18 23:14:35 +0200
commitfc9e2b60b542f7cdc56454698c7d893ece6c992f (patch)
treef75c2db7740566289e8f1c3f01d1eca7240be256 /pkgs/applications/audio
parente9f8ee3ab44549135e4c6788512c4ce11a11f286 (diff)
downloadnixlib-fc9e2b60b542f7cdc56454698c7d893ece6c992f.tar
nixlib-fc9e2b60b542f7cdc56454698c7d893ece6c992f.tar.gz
nixlib-fc9e2b60b542f7cdc56454698c7d893ece6c992f.tar.bz2
nixlib-fc9e2b60b542f7cdc56454698c7d893ece6c992f.tar.lz
nixlib-fc9e2b60b542f7cdc56454698c7d893ece6c992f.tar.xz
nixlib-fc9e2b60b542f7cdc56454698c7d893ece6c992f.tar.zst
nixlib-fc9e2b60b542f7cdc56454698c7d893ece6c992f.zip
lastwatch: use python2
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/lastwatch/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/applications/audio/lastwatch/default.nix b/pkgs/applications/audio/lastwatch/default.nix
index 61d502ce3345..0e4e1a5a8a38 100644
--- a/pkgs/applications/audio/lastwatch/default.nix
+++ b/pkgs/applications/audio/lastwatch/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchgit, pythonPackages }:
+{ stdenv, fetchgit, python2Packages }:
 
-pythonPackages.buildPythonApplication rec {
+python2Packages.buildPythonApplication rec {
   name = "lastwatch-${version}";
   namePrefix = "";
   version = "0.4.1";
@@ -11,14 +11,12 @@ pythonPackages.buildPythonApplication rec {
     sha256 = "0nlng3595j5jvnikk8i5hb915zak5zsmfn2306cc4gfcns9xzjwp";
   };
 
-  pythonPath = [
-    pythonPackages.pyinotify
-    pythonPackages.pylast
-    pythonPackages.mutagen
+  propagatedBuildInputs = with python2Packages; [
+    pyinotify
+    pylast
+    mutagen
   ];
 
-  propagatedBuildInputs = pythonPath;
-
   meta = {
     homepage = "https://github.com/aszlig/LastWatch";
     description = "An inotify-based last.fm audio scrobbler";