1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

python.pkgs.mygpoclient: 1.7 -> 1.8

This commit is contained in:
Jörg Thalheim 2017-12-31 02:36:18 +01:00
parent 409642e529
commit 2efe8b95c8
2 changed files with 32 additions and 29 deletions

View file

@ -0,0 +1,31 @@
{ 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 ];
};
}

View file

@ -11338,35 +11338,7 @@ in {
};
});
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";