mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
41 lines
846 B
Nix
41 lines
846 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, numpy
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "typish";
|
|
version = "1.9.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ramonhagenaars";
|
|
repo = "typish";
|
|
rev = "7875850f55e2df8a9e2426e2d484ab618e347c7f";
|
|
sha256 = "0mc5hw92f15mwd92rb2q9isc4wi7xq76449w7ph5bskcspas0wrf";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|