forked from mirrors/nixpkgs
Merge pull request #282874 from fabaff/ledfx-bump
This commit is contained in:
commit
f4e763962a
|
@ -5,23 +5,25 @@
|
|||
|
||||
python3.pkgs.buildPythonPackage rec {
|
||||
pname = "ledfx";
|
||||
version = "2.0.86";
|
||||
version = "2.0.89";
|
||||
pyproject= true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-miOGMsrvK3A3SYnd+i/lqB+9GOHtO4F3RW8NkxDgFqU=";
|
||||
hash = "sha256-PBOj6u0TukT6wRKMQML4+XNQQZvsGyRzXBk9YsISst4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'rpi-ws281x>=4.3.0; platform_system == \"Linux\"'," "" \
|
||||
--replace "sentry-sdk==1.38.0" "sentry-sdk" \
|
||||
--replace "~=" ">="
|
||||
'';
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
pythonRemoveDeps = [
|
||||
# not packaged
|
||||
"rpi-ws281x"
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
setuptools
|
||||
cython
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
|
@ -29,8 +31,8 @@ python3.pkgs.buildPythonPackage rec {
|
|||
aiohttp-cors
|
||||
aubio
|
||||
certifi
|
||||
cython
|
||||
flux-led
|
||||
python-dotenv
|
||||
icmplib
|
||||
mss
|
||||
multidict
|
||||
|
@ -52,6 +54,7 @@ python3.pkgs.buildPythonPackage rec {
|
|||
sentry-sdk
|
||||
setuptools
|
||||
sounddevice
|
||||
stupidartnet
|
||||
uvloop
|
||||
voluptuous
|
||||
zeroconf
|
||||
|
|
42
pkgs/development/python-modules/stupidartnet/default.nix
Normal file
42
pkgs/development/python-modules/stupidartnet/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stupidartnet";
|
||||
version = "1.4.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cpvalente";
|
||||
repo = "stupidArtnet";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-2LfK63FJcdnXfDLuUzYNlspj1jmtw00S6el49cH+RRM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"stupidArtnet"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library implementation of the Art-Net protocol";
|
||||
homepage = "https://github.com/cpvalente/stupidArtnet";
|
||||
changelog = "https://github.com/cpvalente/stupidArtnet/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -13912,6 +13912,8 @@ self: super: with self; {
|
|||
|
||||
stumpy = callPackage ../development/python-modules/stumpy { };
|
||||
|
||||
stupidartnet = callPackage ../development/python-modules/stupidartnet { };
|
||||
|
||||
stups-cli-support = callPackage ../development/python-modules/stups-cli-support { };
|
||||
|
||||
stups-fullstop = callPackage ../development/python-modules/stups-fullstop { };
|
||||
|
|
Loading…
Reference in a new issue