python.pkgs.mygpoclient: 1.7 -> 1.8

Changed files
+32 -29
pkgs
development
python-modules
mygpoclient
top-level
+31
pkgs/development/python-modules/mygpoclient/default.nix
···
+
{ stdenv, fetchFromGitHub, buildPythonPackage, nose, minimock }:
+
+
buildPythonPackage rec {
+
name = "mygpoclient-${version}";
+
version = "1.8";
+
+
src = fetchFromGitHub {
+
owner = "gpodder";
+
repo = "mygpoclient";
+
rev = version;
+
sha256 = "0aa28wc55x3rxa7clwfv5v5500ffyaq0vkxaa3v01y1r93dxkdvp";
+
};
+
+
buildInputs = [ nose minimock ];
+
+
checkPhase = ''
+
nosetests
+
'';
+
+
meta = with stdenv.lib; {
+
description = "A gpodder.net client library";
+
longDescription = ''
+
The mygpoclient library allows developers to utilize a Pythonic interface
+
to the gpodder.net web services.
+
'';
+
homepage = https://github.com/gpodder/mygpoclient;
+
license = with licenses; [ gpl3 ];
+
platforms = with platforms; linux ++ darwin;
+
maintainers = with maintainers; [ skeidel ];
+
};
+
}
+1 -29
pkgs/top-level/python-packages.nix
···
});
-
mygpoclient = buildPythonPackage rec {
-
name = "mygpoclient-${version}";
-
version = "1.7";
-
-
src = pkgs.fetchurl {
-
url = "https://thp.io/2010/mygpoclient/${name}.tar.gz";
-
sha256 = "6a0b7b1fe2b046875456e14eda3e42430e493bf2251a64481cf4fd1a1e21a80e";
-
};
-
-
buildInputs = with self; [ nose minimock ];
-
-
checkPhase = ''
-
nosetests
-
'';
-
-
disabled = isPy3k;
-
-
meta = {
-
description = "A gpodder.net client library";
-
longDescription = ''
-
The mygpoclient library allows developers to utilize a Pythonic interface
-
to the gpodder.net web services.
-
'';
-
homepage = https://thp.io/2010/mygpoclient/;
-
license = with licenses; [ gpl3 ];
-
platforms = with platforms; linux ++ darwin;
-
maintainers = with maintainers; [ skeidel ];
-
};
-
};
+
mygpoclient = callPackage ../development/python-modules/mygpoclient { };
mwclient = buildPythonPackage rec {
version = "0.8.3";