mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
33 lines
803 B
Nix
33 lines
803 B
Nix
{ lib, stdenv, fetchFromGitHub, buildPythonPackage, nose, minimock }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mypgoclient";
|
|
version = "1.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gpodder";
|
|
repo = "mygpoclient";
|
|
rev = version;
|
|
sha256 = "0aa28wc55x3rxa7clwfv5v5500ffyaq0vkxaa3v01y1r93dxkdvp";
|
|
};
|
|
|
|
nativeCheckInputs = [ nose minimock ];
|
|
|
|
checkPhase = ''
|
|
nosetests
|
|
'';
|
|
|
|
doCheck = (!stdenv.isDarwin);
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|