depot/third_party/nixpkgs/pkgs/development/python-modules/mygpoclient/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

32 lines
799 B
Nix

{ stdenv, fetchFromGitHub, buildPythonPackage, nose, minimock }:
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);
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 ];
};
}