git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.wasabi: disable on older Python releases

- add pythonImportsCheck

commitd77b153fe921e94e4adddc684b60a6dd7a8d1838 authorFabian Affolter <mail@fabian-affolter.ch> dateFri 8 Apr 2022, 11:55 (5 years ago) parent0e3e49f
1 file changed+12−1
pkgs/development/python-modules/wasabi/default.nix+12−1
pkgs/development/python-modules/wasabi/default.nix+12−1
@@ -2,23 +2,34 @@
22, buildPythonPackage
33, fetchPypi
44, pytestCheckHook
5+, pythonOlder
56}:
67
78buildPythonPackage rec {
89 pname = "wasabi";
910 version = "0.9.1";
11+ format = "setuptools";
12+
13+ disabled = pythonOlder "3.7";
1014
1115 src = fetchPypi {
1216 inherit pname version;
1317 sha256 = "sha256-rabxPptw7ya/lfrQ/r396+IAXimgitWPS7rjg6lymM8=";
1418 };
1519
16− checkInputs = [ pytestCheckHook ];
20+ checkInputs = [
21+ pytestCheckHook
22+ ];
23+
24+ pythonImportsCheck = [
25+ "wasabi"
26+ ];
1727
1828 meta = with lib; {
1929 description = "A lightweight console printing and formatting toolkit";
2030 homepage = "https://github.com/ines/wasabi";
2131 changelog = "https://github.com/ines/wasabi/releases/tag/v${version}";
2232 license = licenses.mit;
33+ maintainers = with maintainers; [ ];
2334 };
2435}