2020-06-07 12:32:43 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, certifi, six
|
|
|
|
, setuptools_scm
|
|
|
|
}:
|
2017-06-25 07:32:05 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pylast";
|
2020-07-06 23:35:51 +00:00
|
|
|
version = "3.3.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;
|
2020-07-06 23:35:51 +00:00
|
|
|
sha256 = "1wqd23bbk5si2mcmswsi486zqnydjjf8g7924gcz6cc1x036lasd";
|
2017-06-25 07:32:05 +00:00
|
|
|
};
|
|
|
|
|
2020-06-07 12:32:43 +00:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
2017-06-25 07:32:05 +00:00
|
|
|
propagatedBuildInputs = [ certifi six ];
|
|
|
|
|
|
|
|
# tests require last.fm credentials
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +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 ];
|
|
|
|
};
|
|
|
|
}
|