Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 846 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, pytestCheckHook 6, numpy 7}: 8 9buildPythonPackage rec { 10 pname = "sipyco"; 11 version = "1.4"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "m-labs"; 17 repo = "sipyco"; 18 rev = "refs/tags/v${version}"; 19 hash = "sha256-sEYWtp11piUIa8YyuTOdFIIJ2GfcrUb+HEzPVKr4hW8="; 20 }; 21 22 propagatedBuildInputs = [ 23 numpy 24 ]; 25 26 nativeCheckInputs = [ 27 pytestCheckHook 28 ]; 29 30 pythonImportsCheck = [ 31 "sipyco" 32 ]; 33 34 meta = with lib; { 35 description = "Simple Python Communications - used by the ARTIQ experimental control package"; 36 homepage = "https://github.com/m-labs/sipyco"; 37 changelog = "https://github.com/m-labs/sipyco/releases/tag/v${version}"; 38 license = licenses.lgpl3Plus; 39 maintainers = with maintainers; [ charlesbaynham ]; 40 }; 41}