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