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