567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
34 lines
782 B
Nix
34 lines
782 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "cocotb-bus";
|
|
version = "unstable-2025-11-03";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cocotb";
|
|
repo = "cocotb-bus";
|
|
rev = "f72b989bde036e677d5e9ebab3a6a21bdfe43d09";
|
|
hash = "sha256-4j63kOjBd+iLA2EYqLTM0oKzKksOjH2UqNgDNFvWgYw=";
|
|
};
|
|
|
|
# tests require cocotb, disable for now to avoid circular dependency
|
|
doCheck = false;
|
|
|
|
# checkPhase = ''
|
|
# export PATH=$out/bin:$PATH
|
|
# make test
|
|
# '';
|
|
|
|
meta = {
|
|
description = "Pre-packaged testbenching tools and reusable bus interfaces for cocotb";
|
|
homepage = "https://github.com/cocotb/cocotb-bus";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ oskarwires ];
|
|
};
|
|
}
|