Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions pkgs/development/python-modules/typeguard/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, lib
, setuptools
, setuptools-scm
, pytestCheckHook
Expand All @@ -18,7 +18,7 @@ buildPythonPackage rec {
version = "4.1.5";
format = "pyproject";

disabled = pythonOlder "3.5";
disabled = pythonOlder "3.8";

src = fetchPypi {
inherit pname version;
Expand Down Expand Up @@ -51,6 +51,10 @@ buildPythonPackage rec {
pytestCheckHook
];

pythonImportsCheck = [
"typeguard"
];

disabledTestPaths = [
# mypy tests aren't passing with latest mypy
"tests/mypy"
Expand All @@ -68,6 +72,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This library provides run-time type checking for functions defined with argument type annotations";
homepage = "https://github.com/agronholm/typeguard";
changelog = "https://github.com/agronholm/typeguard/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
Expand Down