verilator: format with nixfmt

This commit is contained in:
Henner Zeller 2024-07-13 09:55:03 -07:00 committed by Austin Seipp
parent dd3f6561ce
commit 8bd0720626

View File

@ -1,6 +1,23 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, perl, flex, bison, python3, autoconf,
which, cmake, ccache, help2man, makeWrapper, glibcLocales,
systemc, git, numactl }:
{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
perl,
flex,
bison,
python3,
autoconf,
which,
cmake,
ccache,
help2man,
makeWrapper,
glibcLocales,
systemc,
git,
numactl,
}:
stdenv.mkDerivation rec {
pname = "verilator";
@ -23,9 +40,25 @@ stdenv.mkDerivation rec {
];
enableParallelBuilding = true;
buildInputs = [ perl python3 systemc ]; # ccache
nativeBuildInputs = [ makeWrapper flex bison autoconf help2man git ];
nativeCheckInputs = [ which numactl ]; # cmake
buildInputs = [
perl
python3
systemc
# ccache
];
nativeBuildInputs = [
makeWrapper
flex
bison
autoconf
help2man
git
];
nativeCheckInputs = [
which
numactl
# cmake
];
doCheck = stdenv.isLinux; # darwin tests are broken for now...
checkTarget = "test";
@ -53,9 +86,15 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Fast and robust (System)Verilog simulator/compiler and linter";
homepage = "https://www.veripool.org/verilator";
license = with licenses; [ lgpl3Only artistic2 ];
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice amiloradovsky ];
homepage = "https://www.veripool.org/verilator";
license = with licenses; [
lgpl3Only
artistic2
];
platforms = platforms.unix;
maintainers = with maintainers; [
thoughtpolice
amiloradovsky
];
};
}