depot/third_party/nixpkgs/pkgs/development/python-modules/pyroma/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

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; [ ];
};
}