diff options
Diffstat (limited to 'pkgs/applications/science/electronics/systemc/default.nix')
-rw-r--r-- | pkgs/applications/science/electronics/systemc/default.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/pkgs/applications/science/electronics/systemc/default.nix b/pkgs/applications/science/electronics/systemc/default.nix index cdb489c6323b0..dc6186841f47f 100644 --- a/pkgs/applications/science/electronics/systemc/default.nix +++ b/pkgs/applications/science/electronics/systemc/default.nix @@ -1,18 +1,26 @@ -{ lib, stdenv, fetchurl }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook }: stdenv.mkDerivation rec { pname = "systemc"; - version = "2.3.3"; + version = "2.3.4"; - src = fetchurl { - url = "https://www.accellera.org/images/downloads/standards/systemc/${pname}-${version}.tar.gz"; - sha256 = "5781b9a351e5afedabc37d145e5f7edec08f3fd5de00ffeb8fa1f3086b1f7b3f"; + src = fetchFromGitHub { + owner = "accellera-official"; + repo = pname; + rev = version; + sha256 = "0sj8wlkp68cjhmkd9c9lvm3lk3sckczpz7w9vby64inc1f9fnf0b"; }; + enableParallelBuilding = true; + nativeBuildInputs = [ autoreconfHook ]; + + configureFlags = [ "--with-unix-layout" ]; + meta = with lib; { description = "The language for System-level design, modeling and verification"; homepage = "https://systemc.org/"; license = licenses.asl20; - maintainers = with maintainers; [ victormignot ]; + platforms = platforms.linux; + maintainers = with maintainers; [ victormignot amiloradovsky ]; }; } |