Loading pkgs/applications/science/electronics/verilator/default.nix +14 −12 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub , perl, flex, bison, python3, autoconf , which, cmake, help2man , makeWrapper, glibcLocales }: { lib, stdenv, fetchFromGitHub, perl, flex, bison, python3, autoconf, which, cmake, ccache, help2man, makeWrapper, glibcLocales, systemc, git, numactl }: stdenv.mkDerivation rec { pname = "verilator"; Loading @@ -16,9 +14,9 @@ stdenv.mkDerivation rec { }; enableParallelBuilding = true; buildInputs = [ perl ]; nativeBuildInputs = [ makeWrapper flex bison python3 autoconf help2man ]; nativeCheckInputs = [ which ]; 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"; Loading @@ -26,8 +24,12 @@ stdenv.mkDerivation rec { preConfigure = "autoconf"; postPatch = '' patchShebangs bin/* src/{flexfix,vlcovgen} test_regress/{driver.pl,t/*.pl} patchShebangs bin/* src/* nodist/* docs/bin/* examples/xml_py/* \ test_regress/{driver.pl,t/*.{pl,pf}} \ ci/* ci/docker/run/* ci/docker/run/hooks/* ci/docker/buildenv/build.sh ''; # grep '^#!/' -R . | grep -v /nix/store | less # (in nix-shell after patchPhase) postInstall = lib.optionalString stdenv.isLinux '' for x in $(ls $out/bin/verilator*); do Loading @@ -36,10 +38,10 @@ stdenv.mkDerivation rec { ''; meta = with lib; { description = "Fast and robust (System)Verilog simulator/compiler"; homepage = "https://www.veripool.org/wiki/verilator"; 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 ]; maintainers = with maintainers; [ thoughtpolice amiloradovsky ]; }; } Loading
pkgs/applications/science/electronics/verilator/default.nix +14 −12 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub , perl, flex, bison, python3, autoconf , which, cmake, help2man , makeWrapper, glibcLocales }: { lib, stdenv, fetchFromGitHub, perl, flex, bison, python3, autoconf, which, cmake, ccache, help2man, makeWrapper, glibcLocales, systemc, git, numactl }: stdenv.mkDerivation rec { pname = "verilator"; Loading @@ -16,9 +14,9 @@ stdenv.mkDerivation rec { }; enableParallelBuilding = true; buildInputs = [ perl ]; nativeBuildInputs = [ makeWrapper flex bison python3 autoconf help2man ]; nativeCheckInputs = [ which ]; 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"; Loading @@ -26,8 +24,12 @@ stdenv.mkDerivation rec { preConfigure = "autoconf"; postPatch = '' patchShebangs bin/* src/{flexfix,vlcovgen} test_regress/{driver.pl,t/*.pl} patchShebangs bin/* src/* nodist/* docs/bin/* examples/xml_py/* \ test_regress/{driver.pl,t/*.{pl,pf}} \ ci/* ci/docker/run/* ci/docker/run/hooks/* ci/docker/buildenv/build.sh ''; # grep '^#!/' -R . | grep -v /nix/store | less # (in nix-shell after patchPhase) postInstall = lib.optionalString stdenv.isLinux '' for x in $(ls $out/bin/verilator*); do Loading @@ -36,10 +38,10 @@ stdenv.mkDerivation rec { ''; meta = with lib; { description = "Fast and robust (System)Verilog simulator/compiler"; homepage = "https://www.veripool.org/wiki/verilator"; 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 ]; maintainers = with maintainers; [ thoughtpolice amiloradovsky ]; }; }