Merge pull request #167795 from fmoda3/typish

python3Packages.typish: init at 1.9.3
This commit is contained in:
Stanisław Pitucha 2022-08-29 20:26:16 +10:00 committed by GitHub
commit dac9883cbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 0 deletions

View file

@ -4428,6 +4428,12 @@
githubId = 74379;
name = "Florian Pester";
};
fmoda3 = {
email = "fmoda3@mac.com";
github = "fmoda3";
githubId = 1746471;
name = "Frank Moda III";
};
fmthoma = {
email = "f.m.thoma@googlemail.com";
github = "fmthoma";

View file

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "typish";
version = "1.9.3";
src = fetchFromGitHub {
owner = "ramonhagenaars";
repo = "typish";
rev = "7875850f55e2df8a9e2426e2d484ab618e347c7f";
sha256 = "0mc5hw92f15mwd92rb2q9isc4wi7xq76449w7ph5bskcspas0wrf";
};
checkInputs = [
numpy
pytestCheckHook
];
disabledTestPaths = [
# Requires a very old version of nptyping
# which has a circular dependency on typish
"tests/functions/test_instance_of.py"
];
pythonImportsCheck = [
"typish"
];
meta = with lib; {
description = "Python module for checking types of objects";
homepage = "https://github.com/ramonhagenaars/typish";
license = licenses.mit;
maintainers = with maintainers; [ fmoda3 ];
};
}

View file

@ -11163,6 +11163,8 @@ in {
typing-inspect = callPackage ../development/python-modules/typing-inspect { };
typish = callPackage ../development/python-modules/typish { };
typogrify = callPackage ../development/python-modules/typogrify { };
tzdata = callPackage ../development/python-modules/tzdata { };