nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 pyjwt,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "millheater";
12 version = "0.15.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "Danielhiversen";
17 repo = "pymill";
18 tag = version;
19 hash = "sha256-7Jqk5WarCA/YBpmFuF4/dbWpQHtKKRH8hYRT2FXn2n8=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 aiohttp
26 pyjwt
27 ];
28
29 # Project has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "mill" ];
33
34 meta = {
35 description = "Python library for Mill heater devices";
36 homepage = "https://github.com/Danielhiversen/pymill";
37 changelog = "https://github.com/Danielhiversen/pymill/releases/tag/${src.tag}";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ fab ];
40 };
41}