2019-01-10 17:16:58 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
|
|
|
, audio-metadata, multidict, wrapt
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-music-utils";
|
2019-03-15 19:01:15 +00:00
|
|
|
version = "2.1.0";
|
2019-01-10 17:16:58 +00:00
|
|
|
|
|
|
|
# Pypi tarball doesn't contain tests
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thebigmunch";
|
|
|
|
repo = "google-music-utils";
|
|
|
|
rev = version;
|
2019-03-15 19:01:15 +00:00
|
|
|
sha256 = "0fn4zp0gf1wx2x06dbc840qcq21j4p3ajghxp7646w2n6n9gxhh7";
|
2019-01-10 17:16:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
audio-metadata multidict wrapt
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/thebigmunch/google-music-utils";
|
2019-01-10 17:16:58 +00:00
|
|
|
description = "A set of utility functionality for google-music and related projects";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
|
|
};
|
|
|
|
}
|