From 777ba23c173dbe8ce8f5decb203ffb989b0bc031 Mon Sep 17 00:00:00 2001 From: Victor Mignot Date: Wed, 7 Sep 2022 08:04:56 -0400 Subject: [PATCH] systemc: Init at 2.3.3 --- .../science/electronics/systemc/default.nix | 18 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/applications/science/electronics/systemc/default.nix diff --git a/pkgs/applications/science/electronics/systemc/default.nix b/pkgs/applications/science/electronics/systemc/default.nix new file mode 100644 index 000000000000..cdb489c6323b --- /dev/null +++ b/pkgs/applications/science/electronics/systemc/default.nix @@ -0,0 +1,18 @@ +{ lib, stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "systemc"; + version = "2.3.3"; + + src = fetchurl { + url = "https://www.accellera.org/images/downloads/standards/systemc/${pname}-${version}.tar.gz"; + sha256 = "5781b9a351e5afedabc37d145e5f7edec08f3fd5de00ffeb8fa1f3086b1f7b3f"; + }; + + meta = with lib; { + description = "The language for System-level design, modeling and verification"; + homepage = "https://systemc.org/"; + license = licenses.asl20; + maintainers = with maintainers; [ victormignot ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8ff267fbc334..9239a437fb59 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11254,6 +11254,8 @@ with pkgs; sysbench = callPackage ../development/tools/misc/sysbench {}; + systemc = callPackage ../applications/science/electronics/systemc { }; + system-config-printer = callPackage ../tools/misc/system-config-printer { autoreconfHook = buildPackages.autoreconfHook269; libxml2 = libxml2Python;