mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
1801680ba2
- disable on unsupported Python releases
34 lines
667 B
Nix
34 lines
667 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sacn";
|
|
version = "1.9.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-LimA0I8y1tdjFk244iWvKJj0Rx3OEaYOSIJtirRHh4o=";
|
|
};
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"sacn"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A simple ANSI E1.31 (aka sACN) module";
|
|
homepage = "https://github.com/Hundemeier/sacn";
|
|
changelog = "https://github.com/Hundemeier/sacn/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|