depot/third_party/nixpkgs/pkgs/development/python-modules/sentinels/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

36 lines
687 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "sentinels";
version = "1.0.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "1cglkxph47pki4db4kjx5g4ikxp2milqdlcjgqwmx4p1gx6p1q3v";
};
propagatedBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "sentinels" ];
meta = with lib; {
homepage = "https://github.com/vmalloc/sentinels/";
description = "Various objects to denote special meanings in python";
license = licenses.bsd3;
maintainers = with maintainers; [ gador ];
};
}