synlig: 2023-11-28 -> 2024-08-07
This commit is contained in:
parent
e2f684796c
commit
c5ddf1ced2
@ -1,7 +1,6 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, antlr4
|
, antlr4
|
||||||
, capnproto
|
, capnproto
|
||||||
@ -16,7 +15,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
plugin = "synlig";
|
plugin = "synlig";
|
||||||
|
|
||||||
# The module has automatic regular releases, with date + short git hash
|
# 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.
|
# Derive our package version from GIT_VERSION, remove hash, just keep date.
|
||||||
version = builtins.concatStringsSep "-" (
|
version = builtins.concatStringsSep "-" (
|
||||||
@ -26,19 +25,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
owner = "chipsalliance";
|
owner = "chipsalliance";
|
||||||
repo = "synlig";
|
repo = "synlig";
|
||||||
rev = "${finalAttrs.GIT_VERSION}";
|
rev = "${finalAttrs.GIT_VERSION}";
|
||||||
hash = "sha256-jdA3PBodecqriGWU/BzWtQ5gyu62pZHv+1NvFrwsTTk=";
|
hash = "sha256-yj+SBq6PqgPBcgz2zHZ9AUppllG/dqetU7lWPkFC+iE=";
|
||||||
fetchSubmodules = false; # we use all dependencies from nix
|
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 = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
@ -97,6 +87,5 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ hzeller ];
|
maintainers = with maintainers; [ hzeller ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
broken = versionAtLeast yosys.version "0.39";
|
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user