1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
34 lines
786 B
Nix
34 lines
786 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
aiolifx,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiolifx-effects";
|
|
version = "0.3.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "aiolifx_effects";
|
|
hash = "sha256-Mhxs5PNr2W9ych56WYUZTEGck4HVTQfkil3S3zHv6Qc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ aiolifx ];
|
|
|
|
# tests are not implemented
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aiolifx_effects" ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/amelchio/aiolifx_effects/releases/tag/v${version}";
|
|
description = "Light effects (pulse, colorloop ...) for LIFX lights running on aiolifx";
|
|
homepage = "https://github.com/amelchio/aiolifx_effects";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ netixx ];
|
|
};
|
|
}
|