Files
Ihar HrachyshkaandWolfgang Walther 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

46 lines
849 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
meson,
ninja,
pkg-config,
dtc,
}:
stdenv.mkDerivation {
pname = "culvert";
version = "0.4.0.unstable-2024-10-17";
src = fetchFromGitHub {
owner = "amboar";
repo = "culvert";
rev = "770a6ed4badec1c6e3079cd9b354d0996d55b326";
hash = "sha256-Lj72uYItTxTVYcSEbr/XezeyFvrcqqMTu74tOE+DwJE=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
dtc # The dtc binary to compile device trees
];
buildInputs = [
dtc # provides libfdt
];
mesonFlags = [
"-Db_lto=false"
];
meta = {
homepage = "https://github.com/amboar/culvert";
description = "Test and Debug Tool for BMC AHB Interfaces ";
mainProgram = "culvert";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.baloo ];
platforms = lib.platforms.linux;
};
}