depot/third_party/nixpkgs/pkgs/development/python-modules/sipyco/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

42 lines
871 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";
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 ];
};
}