mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
36 lines
647 B
Nix
36 lines
647 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytest,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "docrep";
|
|
version = "0.3.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ed8a17e201abd829ef8da78a0b6f4d51fb99a4cbd0554adbed3309297f964314";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytest ];
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
# tests not packaged with PyPi download
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Python package for docstring repetition";
|
|
homepage = "https://github.com/Chilipp/docrep";
|
|
license = lib.licenses.gpl2;
|
|
maintainers = [ ];
|
|
};
|
|
}
|