mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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:
parent
6aad18a668
commit
69eddfa090
24
pkgs/development/python-modules/pylast/default.nix
Normal file
24
pkgs/development/python-modules/pylast/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -12926,24 +12926,7 @@ in {
|
|||||||
|
|
||||||
kitchen = callPackage ../development/python-modules/kitchen/default.nix { };
|
kitchen = callPackage ../development/python-modules/kitchen/default.nix { };
|
||||||
|
|
||||||
pylast = buildPythonPackage rec {
|
pylast = callPackage ../development/python-modules/pylast/default.nix { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pylru = buildPythonPackage rec {
|
pylru = buildPythonPackage rec {
|
||||||
name = "pylru-${version}";
|
name = "pylru-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user