ntpd-rs: 1.3.0 -> 1.3.1 (#361213)
[NixPkgs.git] / pkgs / development / python-modules / itypes / default.nix
bloba1e83de89c125d82d3f23df1bd5b7a8d909a330c
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   pytest,
6 }:
8 buildPythonPackage rec {
9   pname = "itypes";
10   version = "1.2.0";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     repo = pname;
15     owner = "tomchristie";
16     rev = version;
17     sha256 = "1ljhjp9pacbrv2phs58vppz1dlxix01p98kfhyclvbml6dgjcr52";
18   };
20   nativeCheckInputs = [ pytest ];
21   checkPhase = ''
22     mv itypes.py itypes.py.hidden
23     pytest tests.py
24   '';
26   meta = with lib; {
27     description = "Simple immutable types for python";
28     homepage = "https://github.com/tomchristie/itypes";
29     license = licenses.bsd3;
30     maintainers = [ ];
31   };