pythonPackages.google-music-utils: init at 2.0.0

This commit is contained in:
Jake Waksbaum 2019-01-10 17:16:58 +00:00
parent 13d5fa6720
commit e9e7c08ca6
2 changed files with 37 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -1799,6 +1799,8 @@ in {
google-music-proto = callPackage ../development/python-modules/google-music-proto { }; google-music-proto = callPackage ../development/python-modules/google-music-proto { };
google-music-utils = callPackage ../development/python-modules/google-music-utils { };
gpapi = callPackage ../development/python-modules/gpapi { }; gpapi = callPackage ../development/python-modules/gpapi { };
gplaycli = callPackage ../development/python-modules/gplaycli { }; gplaycli = callPackage ../development/python-modules/gplaycli { };