2019-03-19 21:49:53 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, certifi, six }:
|
2017-06-25 08:32:05 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pylast";
|
2019-04-02 18:51:33 +01:00
|
|
|
version = "3.1.0";
|
2017-06-25 08:32:05 +01:00
|
|
|
|
2019-03-19 21:49:53 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2017-06-25 08:32:05 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-02 18:51:33 +01:00
|
|
|
sha256 = "0sk08l8dq0r4xgmqkxq6jzlbam34k95adaw468n0bh6cps18ddby";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|