blob: 017945d0677333aa428b317394839d13e21b89ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "pyhomeworks";
version = "1.1.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Jq+rjhjmnPFNaEuCHyi+8i20RgLf1rpZg6QqwE7ax7M=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools~=69.2.0" "setuptools" \
--replace-fail ', "wheel~=0.43.0"' ""
'';
build-system = [ setuptools ];
# Project has no real tests
doCheck = false;
pythonImportsCheck = [ "pyhomeworks" ];
meta = {
description = "Python interface to Lutron Homeworks Series 4/8";
homepage = "https://github.com/dubnom/pyhomeworks";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|