2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, buildPythonPackage, nose, minimock }:
|
2017-12-31 01:36:18 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-01-01 10:47:34 +00:00
|
|
|
pname = "mypgoclient";
|
2017-12-31 01:36:18 +00:00
|
|
|
version = "1.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gpodder";
|
|
|
|
repo = "mygpoclient";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0aa28wc55x3rxa7clwfv5v5500ffyaq0vkxaa3v01y1r93dxkdvp";
|
|
|
|
};
|
|
|
|
|
2018-01-01 10:47:34 +00:00
|
|
|
checkInputs = [ nose minimock ];
|
2017-12-31 01:36:18 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests
|
|
|
|
'';
|
|
|
|
|
2018-06-11 01:31:06 +01:00
|
|
|
doCheck = (!stdenv.isDarwin);
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-12-31 01:36:18 +00:00
|
|
|
description = "A gpodder.net client library";
|
|
|
|
longDescription = ''
|
|
|
|
The mygpoclient library allows developers to utilize a Pythonic interface
|
|
|
|
to the gpodder.net web services.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/gpodder/mygpoclient";
|
2017-12-31 01:36:18 +00:00
|
|
|
license = with licenses; [ gpl3 ];
|
|
|
|
maintainers = with maintainers; [ skeidel ];
|
|
|
|
};
|
|
|
|
}
|