Skip to content

Commit

Permalink
pythonPackages.pylast: 0.5.11 -> 1.8.0 (#26825)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
rvolosatovs authored and Mic92 committed Jun 25, 2017
1 parent 6aad18a commit 69eddfa
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 18 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/python-modules/pylast/default.nix
@@ -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 ];
};
}
19 changes: 1 addition & 18 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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}";
Expand Down

0 comments on commit 69eddfa

Please sign in to comment.