git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.millheater: init at 0.4.1
commitfa54e310aa6e395406d5f7c4f258f854f76ee74d authorFabian Affolter <mail@fabian-affolter.ch> dateSun 20 Jun 2021, 11:44 (5 years ago) parent9770439
2 files changed+39
pkgs/development/python-modules/millheater/default.nix+37 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/millheater/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ lib
2+, aiohttp
3+, async-timeout
4+, buildPythonPackage
5+, fetchFromGitHub
6+, pythonOlder
7+}:
8+
9+buildPythonPackage rec {
10+ pname = "millheater";
11+ version = "0.4.1";
12+ disabled = pythonOlder "3.6";
13+
14+ src = fetchFromGitHub {
15+ owner = "Danielhiversen";
16+ repo = "pymill";
17+ rev = version;
18+ sha256 = "0dypv4xwdqcv45aibfkik2slm9r8y7pd2gwqa49kn96f40kdfwb0";
19+ };
20+
21+ propagatedBuildInputs = [
22+ aiohttp
23+ async-timeout
24+ ];
25+
26+ # Project has no tests
27+ doCheck = false;
28+
29+ pythonImportsCheck = [ "mill" ];
30+
31+ meta = with lib; {
32+ description = "Python library for Mill heater devices";
33+ homepage = "https://github.com/Danielhiversen/pymill";
34+ license = with licenses; [ mit ];
35+ maintainers = with maintainers; [ fab ];
36+ };
37+}
pkgs/top-level/python-packages.nix+2
@@ -4385,6 +4385,8 @@ in {
43854385
43864386 milksnake = callPackage ../development/python-modules/milksnake { };
43874387
4388+ millheater = callPackage ../development/python-modules/millheater { };
4389+
43884390 minidb = callPackage ../development/python-modules/minidb { };
43894391
43904392 minidump = callPackage ../development/python-modules/minidump { };