mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
parent
16d48b8280
commit
0afcb79f60
2 changed files with 51 additions and 0 deletions
49
pkgs/applications/audio/puddletag/default.nix
Normal file
49
pkgs/applications/audio/puddletag/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -13073,6 +13073,8 @@ in
|
|||
|
||||
rhythmbox = callPackage ../applications/audio/rhythmbox { };
|
||||
|
||||
puddletag = callPackage ../applications/audio/puddletag { };
|
||||
|
||||
wavesurfer = callPackage ../applications/misc/audio/wavesurfer { };
|
||||
|
||||
wireshark-cli = callPackage ../applications/networking/sniffers/wireshark {
|
||||
|
|
Loading…
Reference in a new issue