1{ stdenv, buildPythonPackage, fetchPypi, isPy3k, certifi, six }:
2
3buildPythonPackage rec {
4 pname = "pylast";
5 version = "3.0.0";
6
7 disabled = !isPy3k;
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "24051c52011ff18bdeaee9df084ecc90da6c627da86f3cdcfec4af2928e9bc56";
12 };
13
14 propagatedBuildInputs = [ certifi six ];
15
16 # tests require last.fm credentials
17 doCheck = false;
18
19 meta = with stdenv.lib; {
20 homepage = https://github.com/pylast/pylast;
21 description = "A python interface to last.fm (and compatibles)";
22 license = licenses.asl20;
23 maintainers = with maintainers; [ rvolosatovs ];
24 };
25}