Merge pull request #332956 from hzeller/feature-20240807-update-synlig

synlig: 2023-11-28 -> 2024-08-07
This commit is contained in:
Florian 2024-08-11 15:30:05 +02:00 committed by GitHub
commit 0828c87ea3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, pkg-config
, antlr4
, capnproto
@ -16,7 +15,7 @@ stdenv.mkDerivation (finalAttrs: {
plugin = "synlig";
# The module has automatic regular releases, with date + short git hash
GIT_VERSION = "2023-11-28-b8ed72d";
GIT_VERSION = "2024-08-07-fd4b2bd";
# Derive our package version from GIT_VERSION, remove hash, just keep date.
version = builtins.concatStringsSep "-" (
@ -26,19 +25,10 @@ stdenv.mkDerivation (finalAttrs: {
owner = "chipsalliance";
repo = "synlig";
rev = "${finalAttrs.GIT_VERSION}";
hash = "sha256-jdA3PBodecqriGWU/BzWtQ5gyu62pZHv+1NvFrwsTTk=";
hash = "sha256-yj+SBq6PqgPBcgz2zHZ9AUppllG/dqetU7lWPkFC+iE=";
fetchSubmodules = false; # we use all dependencies from nix
};
patches = [
(fetchpatch {
# Fixes https://github.com/chipsalliance/synlig/issues/2299
name = "make-compile-for-yosys-0.37.patch";
url = "https://github.com/chipsalliance/synlig/commit/3dd46d4769c20b6dd1163310f8e56560b351a211.patch";
hash = "sha256-OP/2HA/Ukt6o5aKgoBk19P6T/33btU/x6VnoIVXct1g=";
})
];
nativeBuildInputs = [
pkg-config
];
@ -97,6 +87,5 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.asl20;
maintainers = with maintainers; [ hzeller ];
platforms = platforms.all;
broken = versionAtLeast yosys.version "0.39";
};
})