depot/third_party/nixpkgs/pkgs/development/python-modules/sipyco/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
897 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pytestCheckHook,
numpy,
}:
buildPythonPackage rec {
pname = "sipyco";
version = "1.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "m-labs";
repo = "sipyco";
rev = "refs/tags/v${version}";
hash = "sha256-sEYWtp11piUIa8YyuTOdFIIJ2GfcrUb+HEzPVKr4hW8=";
};
propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "sipyco" ];
meta = with lib; {
description = "Simple Python Communications - used by the ARTIQ experimental control package";
mainProgram = "sipyco_rpctool";
homepage = "https://github.com/m-labs/sipyco";
changelog = "https://github.com/m-labs/sipyco/releases/tag/v${version}";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ charlesbaynham ];
};
}