2017-06-25 08:32:05 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, certifi, six }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pylast";
|
2019-02-14 07:37:26 +00:00
|
|
|
version = "3.0.0";
|
2017-06-25 08:32:05 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:26 +00:00
|
|
|
sha256 = "24051c52011ff18bdeaee9df084ecc90da6c627da86f3cdcfec4af2928e9bc56";
|
2017-06-25 08:32:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ certifi six ];
|
|
|
|
|
|
|
|
# tests require last.fm credentials
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/pylast/pylast;
|
2017-06-25 08:32:05 +01:00
|
|
|
description = "A python interface to last.fm (and compatibles)";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
|
|
|
};
|
|
|
|
}
|