2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, buildPythonPackage, nose, minimock }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mypgoclient";
|
|
|
|
version = "1.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gpodder";
|
|
|
|
repo = "mygpoclient";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0aa28wc55x3rxa7clwfv5v5500ffyaq0vkxaa3v01y1r93dxkdvp";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose minimock ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = (!stdenv.isDarwin);
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +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.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/gpodder/mygpoclient";
|
|
|
|
license = with licenses; [ gpl3 ];
|
|
|
|
maintainers = with maintainers; [ skeidel ];
|
|
|
|
};
|
|
|
|
}
|