nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 783 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "stupidartnet"; 11 version = "1.6.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "cpvalente"; 16 repo = "stupidArtnet"; 17 tag = version; 18 hash = "sha256-prLIQn1vFp0Q8FR2WBaU1tr6eKJpEY1ul4ldd4c35ls="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "stupidArtnet" ]; 26 27 meta = { 28 description = "Library implementation of the Art-Net protocol"; 29 homepage = "https://github.com/cpvalente/stupidArtnet"; 30 changelog = "https://github.com/cpvalente/stupidArtnet/releases/tag/${version}"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ fab ]; 33 }; 34}