Files
nixpkgs/pkgs/development/python-modules/cocotb-bus/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

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