2017-06-25 09:32:05 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, certifi, six }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pylast";
|
2018-08-13 09:30:40 +02:00
|
|
|
version = "2.4.0";
|
2017-06-25 09:32:05 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-13 09:30:40 +02:00
|
|
|
sha256 = "8e883f13b70c3879fc821bbee1accf27ea4e68898f4462cbbe358f615adcbbfb";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|