Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / psychrolib / default.nix
blobcda0523b9698a9cc5e025afd3cc6279ace494016
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "psychrolib";
11   version = "2.5.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "psychrometrics";
18     repo = "psychrolib";
19     rev = "refs/tags/${version}";
20     hash = "sha256-OkjoYIakF7NXluNTaJnUHk5cI5t8GnpqrbqHYwnLOts=";
21   };
23   sourceRoot = "${src.name}/src/python";
25   nativeBuildInputs = [
26     setuptools
27   ];
29   # Module has no tests
30   doCheck = false;
32   pythonImportsCheck = [
33     "psychrolib"
34   ];
36   meta = with lib; {
37     description = "Library of psychrometric functions to calculate thermodynamic properties";
38     homepage = "https://github.com/psychrometrics/psychrolib";
39     changelog = "https://github.com/psychrometrics/psychrolib/releases/tag/${version}";
40     license = licenses.mit;
41     maintainers = with maintainers; [ fab ];
42   };