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 {
|
python3.pkgs.buildPythonPackage rec {
|
||||||
pname = "ledfx";
|
pname = "ledfx";
|
||||||
version = "2.0.86";
|
version = "2.0.89";
|
||||||
pyproject= true;
|
pyproject= true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-miOGMsrvK3A3SYnd+i/lqB+9GOHtO4F3RW8NkxDgFqU=";
|
hash = "sha256-PBOj6u0TukT6wRKMQML4+XNQQZvsGyRzXBk9YsISst4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
pythonRelaxDeps = true;
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "'rpi-ws281x>=4.3.0; platform_system == \"Linux\"'," "" \
|
pythonRemoveDeps = [
|
||||||
--replace "sentry-sdk==1.38.0" "sentry-sdk" \
|
# not packaged
|
||||||
--replace "~=" ">="
|
"rpi-ws281x"
|
||||||
'';
|
];
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
setuptools
|
cython
|
||||||
|
poetry-core
|
||||||
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
@ -29,8 +31,8 @@ python3.pkgs.buildPythonPackage rec {
|
||||||
aiohttp-cors
|
aiohttp-cors
|
||||||
aubio
|
aubio
|
||||||
certifi
|
certifi
|
||||||
cython
|
|
||||||
flux-led
|
flux-led
|
||||||
|
python-dotenv
|
||||||
icmplib
|
icmplib
|
||||||
mss
|
mss
|
||||||
multidict
|
multidict
|
||||||
|
@ -52,6 +54,7 @@ python3.pkgs.buildPythonPackage rec {
|
||||||
sentry-sdk
|
sentry-sdk
|
||||||
setuptools
|
setuptools
|
||||||
sounddevice
|
sounddevice
|
||||||
|
stupidartnet
|
||||||
uvloop
|
uvloop
|
||||||
voluptuous
|
voluptuous
|
||||||
zeroconf
|
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 { };
|
stumpy = callPackage ../development/python-modules/stumpy { };
|
||||||
|
|
||||||
|
stupidartnet = callPackage ../development/python-modules/stupidartnet { };
|
||||||
|
|
||||||
stups-cli-support = callPackage ../development/python-modules/stups-cli-support { };
|
stups-cli-support = callPackage ../development/python-modules/stups-cli-support { };
|
||||||
|
|
||||||
stups-fullstop = callPackage ../development/python-modules/stups-fullstop { };
|
stups-fullstop = callPackage ../development/python-modules/stups-fullstop { };
|
||||||
|
|
Loading…
Reference in a new issue