nixpkgs/pkgs/development/python-modules/typepy/default.nix
2023-02-07 18:18:40 +00:00

35 lines
776 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, lib
, mbstrdecoder
, python-dateutil
, pytz
, packaging
, pytestCheckHook
, tcolorpy
}:
buildPythonPackage rec {
pname = "typepy";
version = "1.3.0";
src = fetchFromGitHub {
owner = "thombashi";
repo = pname;
rev = "v${version}";
hash = "sha256-J6SgVd2m0wOVr2ZV/pryRcJrn+BYTGstAUQO349c2lE=";
};
propagatedBuildInputs = [ mbstrdecoder python-dateutil pytz packaging ];
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [ tcolorpy ];
meta = with lib; {
homepage = "https://github.com/thombashi/typepy";
description = "A library for variable type checker/validator/converter at a run time";
maintainers = with maintainers; [ genericnerdyusername ];
license = licenses.mit;
};
}