diff options
author | Peter Hoeg <peter@speartail.com> | 2017-01-02 23:19:59 +0800 |
---|---|---|
committer | Peter Hoeg <peter@speartail.com> | 2017-01-02 23:19:59 +0800 |
commit | c049463520f676301a9d6422999a2f98b2fe68cb (patch) | |
tree | 4f4a2aaed6ffd9758f09d79109f1b8997f287b81 /pkgs/applications/audio/puddletag | |
parent | 59dbcefaa74b940f9b7490c034dc4ff885fa2627 (diff) |
puddletag: get rid of pypkgs variable
Diffstat (limited to 'pkgs/applications/audio/puddletag')
-rw-r--r-- | pkgs/applications/audio/puddletag/default.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/applications/audio/puddletag/default.nix b/pkgs/applications/audio/puddletag/default.nix index 631a5701591df..c140e1a46e551 100644 --- a/pkgs/applications/audio/puddletag/default.nix +++ b/pkgs/applications/audio/puddletag/default.nix @@ -1,10 +1,9 @@ { stdenv, fetchFromGitHub, python2Packages, makeWrapper, chromaprint }: let - pypkgs = python2Packages; pname = "puddletag"; -in pypkgs.buildPythonApplication rec { +in python2Packages.buildPythonApplication rec { name = "${pname}-${version}"; version = "1.2.0"; @@ -17,11 +16,9 @@ in pypkgs.buildPythonApplication rec { sourceRoot = "${pname}-v${version}-src/source"; - disabled = pypkgs.isPy3k; # work to support python 3 has not begun + disabled = python2Packages.isPy3k; # work to support python 3 has not begun - outputs = [ "out" ]; - - propagatedBuildInputs = [ chromaprint ] ++ (with pypkgs; [ + propagatedBuildInputs = [ chromaprint ] ++ (with python2Packages; [ configobj mutagen pyparsing @@ -35,7 +32,7 @@ in pypkgs.buildPythonApplication rec { siteDir=$(toPythonPath $out) mkdir -p $siteDir PYTHONPATH=$PYTHONPATH:$siteDir - ${pypkgs.python.interpreter} setup.py install --prefix $out + ${python2Packages.python.interpreter} setup.py install --prefix $out ''; meta = with stdenv.lib; { |