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