nixpkgs/pkgs/development/python-modules/sipyco/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

43 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 ];
};
}