depot/third_party/nixpkgs/pkgs/development/python-modules/stupidartnet/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

42 lines
863 B
Nix

{ 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 ];
};
}