python311Packages.psychrolib: init at 2.5.0
This commit is contained in:
parent
4919a8cdcc
commit
1ceb9dab50
43
pkgs/development/python-modules/psychrolib/default.nix
Normal file
43
pkgs/development/python-modules/psychrolib/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "psychrolib";
|
||||||
|
version = "2.5.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "psychrometrics";
|
||||||
|
repo = "psychrolib";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-OkjoYIakF7NXluNTaJnUHk5cI5t8GnpqrbqHYwnLOts=";
|
||||||
|
};
|
||||||
|
|
||||||
|
sourceRoot = "${src.name}/src/python";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
# Module has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"psychrolib"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Library of psychrometric functions to calculate thermodynamic properties";
|
||||||
|
homepage = "https://github.com/psychrometrics/psychrolib";
|
||||||
|
changelog = "https://github.com/psychrometrics/psychrolib/releases/tag/${version}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -8739,6 +8739,8 @@ self: super: with self; {
|
||||||
|
|
||||||
psutil-home-assistant = callPackage ../development/python-modules/psutil-home-assistant { };
|
psutil-home-assistant = callPackage ../development/python-modules/psutil-home-assistant { };
|
||||||
|
|
||||||
|
psychrolib = callPackage ../development/python-modules/psychrolib { };
|
||||||
|
|
||||||
psycopg = callPackage ../development/python-modules/psycopg { };
|
psycopg = callPackage ../development/python-modules/psycopg { };
|
||||||
|
|
||||||
psycopg2 = callPackage ../development/python-modules/psycopg2 { };
|
psycopg2 = callPackage ../development/python-modules/psycopg2 { };
|
||||||
|
|
Loading…
Reference in a new issue