diff options
author | Jake Waksbaum <jake.waksbaum@gmail.com> | 2019-01-10 17:16:58 +0000 |
---|---|---|
committer | Jake Waksbaum <jake.waksbaum@gmail.com> | 2019-01-18 21:15:50 +0000 |
commit | e9e7c08ca6b0c77a35154e16e2cf4b0bf82263fb (patch) | |
tree | f9d06baf261fda5db555963727e1a784017fbe6f /pkgs/development/python-modules/google-music-utils | |
parent | 13d5fa67205c4db0d165ae7aaaa3b075872c73d9 (diff) |
pythonPackages.google-music-utils: init at 2.0.0
Diffstat (limited to 'pkgs/development/python-modules/google-music-utils')
-rw-r--r-- | pkgs/development/python-modules/google-music-utils/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/google-music-utils/default.nix b/pkgs/development/python-modules/google-music-utils/default.nix new file mode 100644 index 0000000000000..d7fb8a9170762 --- /dev/null +++ b/pkgs/development/python-modules/google-music-utils/default.nix @@ -0,0 +1,35 @@ +{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder +, audio-metadata, multidict, wrapt +, pytest +}: + +buildPythonPackage rec { + pname = "google-music-utils"; + version = "2.0.0"; + + # Pypi tarball doesn't contain tests + src = fetchFromGitHub { + owner = "thebigmunch"; + repo = "google-music-utils"; + rev = version; + sha256 = "0i5zcr1ypnxizi41s3lrplz9m9rmb56s5iihjx61kbybxcq2b6gk"; + }; + + propagatedBuildInputs = [ + audio-metadata multidict wrapt + ]; + + checkInputs = [ pytest ]; + checkPhase = '' + pytest + ''; + + disabled = pythonOlder "3.6"; + + meta = with lib; { + homepage = https://github.com/thebigmunch/google-music-utils; + description = "A set of utility functionality for google-music and related projects"; + license = licenses.mit; + maintainers = with maintainers; [ jakewaksbaum ]; + }; +} |