1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/development/python-modules/mygpoclient/default.nix

31 lines
764 B
Nix
Raw Normal View History

2017-12-31 01:36:18 +00:00
{ stdenv, fetchFromGitHub, buildPythonPackage, nose, minimock }:
buildPythonPackage rec {
pname = "mypgoclient";
2017-12-31 01:36:18 +00:00
version = "1.8";
src = fetchFromGitHub {
owner = "gpodder";
repo = "mygpoclient";
rev = version;
sha256 = "0aa28wc55x3rxa7clwfv5v5500ffyaq0vkxaa3v01y1r93dxkdvp";
};
checkInputs = [ nose minimock ];
2017-12-31 01:36:18 +00:00
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 ];
maintainers = with maintainers; [ skeidel ];
};
}