Skip to content

Commit

Permalink
python.pkgs.mygpoclient: 1.7 -> 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Dec 31, 2017
1 parent 409642e commit 2efe8b9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 29 deletions.
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/mygpoclient/default.nix
@@ -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 ];
};
}
30 changes: 1 addition & 29 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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";
Expand Down

0 comments on commit 2efe8b9

Please sign in to comment.