Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytest-timeout, pytestCheckHook, pythonOlder, setuptools}:
buildPythonPackage rec { pname = "pypck"; version = "0.7.17"; format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "alengwenus"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-Vlt4+fRULb9mB0ceRmc7MJ50DnF9DAJPHA8iCbNVvcE="; };
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytest-asyncio pytest-timeout pytestCheckHook ];
pytestFlagsArray = [ "--asyncio-mode=auto" ];
disabledTests = lib.optionals stdenv.isDarwin [ "test_connection_lost" ];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "pypck" ];
meta = with lib; { description = "LCN-PCK library written in Python"; homepage = "https://github.com/alengwenus/pypck"; changelog = "https://github.com/alengwenus/pypck/releases/tag/${version}"; license = with licenses; [ epl20 ]; maintainers = with maintainers; [ fab ]; };}