My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/typesystem/default.nix

43 lines
750 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, jinja2
, pytestCheckHook
, pythonOlder
, pyyaml
}:
buildPythonPackage rec {
pname = "typesystem";
version = "0.4.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "encode";
repo = pname;
rev = version;
hash = "sha256-fjnheHWjIDbJY1iXCRKCpqTCwtUWK9YXbynRCZquQ7c=";
};
propagatedBuildInputs = [
jinja2
pyyaml
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"typesystem"
];
meta = with lib; {
description = "A type system library for Python";
homepage = "https://github.com/encode/typesystem";
license = licenses.bsd3;
maintainers = with maintainers; [ costrouc ];
};
}