3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/audio-metadata/default.nix

46 lines
947 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pythonOlder
, attrs
, bidict
, bitstruct
, more-itertools
, pprintpp
, tbm-utils
}:
buildPythonPackage rec {
pname = "audio-metadata";
2019-10-24 07:47:24 +01:00
version = "0.6.0";
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:24 +01:00
sha256 = "7a0c060d05ac59a4ce841a485808fe8a6993fec554f96bee90e57e971c73a2a6";
};
2019-03-15 18:44:08 +00:00
postPatch = ''
substituteInPlace setup.py \
--replace "bidict>=0.17,<0.18" "bidict" \
--replace "more-itertools>=4.0,<5.0" "more-itertools"
'';
propagatedBuildInputs = [
attrs
bidict
bitstruct
more-itertools
pprintpp
tbm-utils
];
# No tests
doCheck = false;
disabled = pythonOlder "3.6";
meta = with lib; {
homepage = https://github.com/thebigmunch/audio-metadata;
description = "A library for reading and, in the future, writing metadata from audio files";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
};
}