0215034f25
when they already rely on SRI hashes.
25 lines
560 B
Nix
25 lines
560 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pylutron";
|
|
version = "0.2.10";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-DKwjBQXC7O/8bFxq5shJJxRV3HYgBeS7tJXg4m3vQMY=";
|
|
};
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "pylutron" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library for controlling a Lutron RadioRA 2 system";
|
|
homepage = "https://github.com/thecynic/pylutron";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|