diff options
author | Peter Hoeg <peter@speartail.com> | 2016-08-03 06:25:41 +0800 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-08-03 00:25:41 +0200 |
commit | 0afcb79f606d772c4f6581f21204cf9277479378 (patch) | |
tree | 0e7f9e0591678530d01ae4aacea36a8da6d30595 /pkgs/applications/audio | |
parent | 16d48b828067d1f4c7a0ca35910d3175c6362ebc (diff) |
puddletag: init at 1.1.1 (#17443)
Thanks to @fridh for feedback.
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/puddletag/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/applications/audio/puddletag/default.nix b/pkgs/applications/audio/puddletag/default.nix new file mode 100644 index 0000000000000..3bbed303aec43 --- /dev/null +++ b/pkgs/applications/audio/puddletag/default.nix @@ -0,0 +1,49 @@ +{ stdenv, lib, fetchFromGitHub, pythonPackages, makeWrapper, chromaprint }: + +with lib; +with pythonPackages; + +buildPythonApplication rec { + version = "1.1.1"; + name = "puddletag-${version}"; + namePrefix = ""; + + src = fetchFromGitHub { + owner = "keithgg"; + repo = "puddletag"; + rev = "1.1.1"; + sha256 = "0zmhc01qg64fb825b3kj0mb0r0d9hms30nqvhdks0qnv7ahahqrx"; + }; + + sourceRoot = "${name}-src/source"; + + disabled = isPy3k; + + outputs = [ "out" ]; + + propagatedBuildInputs = [ + chromaprint + configobj + mutagen + pyparsing + pyqt4 + ]; + + doCheck = false; # there are no tests + dontStrip = true; # we are not generating any binaries + + installPhase = '' + siteDir=$(toPythonPath $out) + mkdir -p $siteDir + PYTHONPATH=$PYTHONPATH:$siteDir + ${python.interpreter} setup.py install --prefix $out + ''; + + meta = with stdenv.lib; { + homepage = https://puddletag.net; + description = "An audio tag editor similar to the Windows program, Mp3tag"; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ peterhoeg ]; + }; +} |