nixpkgs/pkgs/development/python-modules/pylast/default.nix

34 lines
684 B
Nix
Raw Normal View History

2021-03-18 09:16:05 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, certifi
, six
, setuptools-scm
, pythonOlder
2020-06-07 13:32:43 +01:00
}:
buildPythonPackage rec {
pname = "pylast";
2021-03-18 09:16:05 +00:00
version = "4.2.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
2021-03-18 09:16:05 +00:00
sha256 = "sha256-w/mkAUUgj7L7Xv+nz1pI1TYKfihH3S3MbxaNQ4VtoH0=";
};
2021-03-18 09:16:05 +00:00
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ certifi six ];
# tests require last.fm credentials
doCheck = false;
meta = with lib; {
2021-03-18 09:16:05 +00:00
description = "Python interface to last.fm (and compatibles)";
homepage = "https://github.com/pylast/pylast";
license = licenses.asl20;
maintainers = with maintainers; [ rvolosatovs ];
};
}