mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
34 lines
638 B
Nix
34 lines
638 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "docrep";
|
|
version = "0.2.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ec7598fc2497a50f2c6882803d78e3c3cc4f1a554645d2c43c58d53653a1be01";
|
|
};
|
|
|
|
checkInputs = [ 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 = with lib.maintainers; [ costrouc ];
|
|
};
|
|
}
|