pythonPackages.google-music-utils: 2.1.0 -> 2.5.0
This commit is contained in:
parent
d5942f037c
commit
8962aaba30
@ -1,30 +1,36 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
{ lib
|
||||||
, audio-metadata, multidict, wrapt
|
, buildPythonPackage
|
||||||
, pytest
|
, fetchFromGitHub
|
||||||
|
, audio-metadata
|
||||||
|
, multidict
|
||||||
|
, wrapt
|
||||||
|
, poetry
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-music-utils";
|
pname = "google-music-utils";
|
||||||
version = "2.1.0";
|
version = "2.5.0";
|
||||||
|
|
||||||
# Pypi tarball doesn't contain tests
|
# Pypi tarball doesn't contain tests
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "thebigmunch";
|
owner = "thebigmunch";
|
||||||
repo = "google-music-utils";
|
repo = "google-music-utils";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0fn4zp0gf1wx2x06dbc840qcq21j4p3ajghxp7646w2n6n9gxhh7";
|
sha256 = "0vwbrgakk23fypjspmscz4gllnb3dksv2njy4j4bm8vyr6fwbi5f";
|
||||||
};
|
};
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
postPatch = ''
|
||||||
audio-metadata multidict wrapt
|
substituteInPlace pyproject.toml \
|
||||||
];
|
--replace 'multidict = "^4.0"' 'multidict = ">4.0"'
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
nativeBuildInputs = [ poetry ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ audio-metadata multidict /*wrapt*/ ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/thebigmunch/google-music-utils";
|
homepage = "https://github.com/thebigmunch/google-music-utils";
|
||||||
|
Loading…
Reference in New Issue
Block a user