blob: 3bbed303aec43d04a7bbe06d8956b249ad3379ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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 ];
};
}
|