a3bb8d7922
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
48 lines
848 B
Nix
48 lines
848 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, docutils
|
|
, pygments
|
|
, setuptools
|
|
, requests
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyroma";
|
|
version = "3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "regebro";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0ln9w984n48nyxwzd1y48l6b18lnv52radcyizaw56lapcgxrzdr";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
docutils
|
|
pygments
|
|
setuptools
|
|
requests
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pytestFlagsArray = [ "pyroma/tests.py" ];
|
|
|
|
disabledTests = [
|
|
# PyPI tests require network access
|
|
"PyPITest"
|
|
];
|
|
|
|
pythonImportsCheck = [ "pyroma" ];
|
|
|
|
meta = with lib; {
|
|
description = "Test your project's packaging friendliness";
|
|
homepage = "https://github.com/regebro/pyroma";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|