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:
parent
409642e529
commit
2efe8b95c8
31
pkgs/development/python-modules/mygpoclient/default.nix
Normal file
31
pkgs/development/python-modules/mygpoclient/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue