pythonPackages.pylast: 0.5.11 -> 1.8.0 (#26825)

* maintainers: add rvolosatovs

* pythonPackages.pylast: 0.5.11 -> 1.8.0

* pythonPackages.pylast: refactor

- Update homepage
- Add rvolosatovs to maintainers
- Fix test comment

* pylast: move out of python-packages.nix
This commit is contained in:
Roman Volosatovs 2017-06-25 09:32:05 +02:00 committed by Jörg Thalheim
parent 6aad18a668
commit 69eddfa090
2 changed files with 25 additions and 18 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi, certifi, six }:
buildPythonPackage rec {
pname = "pylast";
version = "1.8.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "85f8dd96aef0ccba5f80379c3d7bc1fabd72f59aebab040daf40a8b72268f9bd";
};
propagatedBuildInputs = [ certifi six ];
# tests require last.fm credentials
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://github.com/pylast/pylast";
description = "A python interface to last.fm (and compatibles)";
license = licenses.asl20;
maintainers = with maintainers; [ rvolosatovs ];
};
}

View File

@ -12926,24 +12926,7 @@ in {
kitchen = callPackage ../development/python-modules/kitchen/default.nix { };
pylast = buildPythonPackage rec {
name = "pylast-${version}";
version = "0.5.11";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pylast/${name}.tar.gz";
sha256 = "bf35820be35447d55564d36072d40b09ac8a7fd41a6f1a7a9d408f4d0eaefac4";
};
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = http://code.google.com/p/pylast/;
description = "A python interface to last.fm (and compatibles)";
license = licenses.asl20;
};
};
pylast = callPackage ../development/python-modules/pylast/default.nix { };
pylru = buildPythonPackage rec {
name = "pylru-${version}";