git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #113035 from fabaff/tests-immutables

python3Packages.immutables: enable tests

commit42240d52fceac0e19bbefa3a4f8d5c5af541a941 authorMario Rodas <marsam@users.noreply.github.com> dateSat 13 Feb 2021, 15:12 (6 years ago) parent88e73dba11c0d0
1 file changed+13−4
pkgs/development/python-modules/immutables/default.nix+13−4
pkgs/development/python-modules/immutables/default.nix+13−4
@@ -1,4 +1,9 @@
1−{ lib, buildPythonPackage, fetchPypi, pythonOlder }:
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pytestCheckHook
5+, pythonOlder
6+}:
27
38buildPythonPackage rec {
49 pname = "immutables";
@@ -10,10 +15,14 @@ buildPythonPackage rec {
1015 sha256 = "3713ab1ebbb6946b7ce1387bb9d1d7f5e09c45add58c2a2ee65f963c171e746b";
1116 };
1217
13− meta = {
18+ checkInputs = [ pytestCheckHook ];
19+
20+ pythonImportsCheck = [ "immutables" ];
21+
22+ meta = with lib; {
1423 description = "An immutable mapping type for Python";
1524 homepage = "https://github.com/MagicStack/immutables";
16− license = with lib.licenses; [ asl20 ];
17− maintainers = with lib.maintainers; [ catern ];
25+ license = with licenses; [ asl20 ];
26+ maintainers = with maintainers; [ catern ];
1827 };
1928}