mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
python310Packages.pywaterkotte: init at 0.1.2
This commit is contained in:
parent
4375ddbf1f
commit
8bcf1c8f36
49
pkgs/development/python-modules/pywaterkotte/default.nix
Normal file
49
pkgs/development/python-modules/pywaterkotte/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, responses
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pywaterkotte";
|
||||
version = "0.1.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chboland";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-zK0x6LyXPPNPA20Zq+S1B1q7ZWGxQmWf4JxEfjNkPQw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pywaterkotte"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to communicate with Waterkotte heatpumps";
|
||||
homepage = "https://github.com/chboland/pywaterkotte";
|
||||
changelog = "https://github.com/chboland/pywaterkotte/releases/tag/v${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -9676,6 +9676,8 @@ self: super: with self; {
|
||||
|
||||
pywatchman = callPackage ../development/python-modules/pywatchman { };
|
||||
|
||||
pywaterkotte = callPackage ../development/python-modules/pywaterkotte { };
|
||||
|
||||
pywavelets = callPackage ../development/python-modules/pywavelets { };
|
||||
|
||||
pywayland = callPackage ../development/python-modules/pywayland { };
|
||||
|
Loading…
Reference in New Issue
Block a user