mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 07:01:12 +00:00
logic2-automation: init at 1.0.11 (#512633)
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
grpcio,
|
||||
grpcio-tools,
|
||||
protobuf,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "logic2-automation";
|
||||
version = "1.0.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "saleae";
|
||||
repo = "logic2-automation";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-e0UvRwUs+rKFF3ky8bnHV22ZA9sU+AoghcMui2pIzQ0=";
|
||||
};
|
||||
|
||||
sourceRoot = "source/python";
|
||||
|
||||
preBuild = "./build.sh";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
grpcio
|
||||
grpcio-tools
|
||||
protobuf
|
||||
];
|
||||
|
||||
# Tests require the unfree saleae-logic-2 package, plus gRPC server which is not packaged, yet.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "saleae.automation" ];
|
||||
|
||||
meta = {
|
||||
description = "Automation interface for Saleae Logic 2 software";
|
||||
homepage = "https://github.com/saleae/logic2-automation";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ krishnans2006 ];
|
||||
};
|
||||
})
|
||||
@@ -9574,6 +9574,8 @@ self: super: with self; {
|
||||
|
||||
logging-tree = callPackage ../development/python-modules/logging-tree { };
|
||||
|
||||
logic2-automation = callPackage ../development/python-modules/logic2-automation { };
|
||||
|
||||
logical-unification = callPackage ../development/python-modules/logical-unification { };
|
||||
|
||||
logilab-common = callPackage ../development/python-modules/logilab/common.nix {
|
||||
|
||||
Reference in New Issue
Block a user