Merge commit 'master' into staging
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "icestorm-${version}";
|
||||
version = "2018.05.03";
|
||||
version = "2018.08.01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cliffordwolf";
|
||||
repo = "icestorm";
|
||||
rev = "237280ce44f72c7b2e1ca671d5113dba34cc4fca";
|
||||
sha256 = "0r9xh024snaf1g2r5k524yl6lvf5rkfhqwjzcixh1m12012i5hrh";
|
||||
rev = "8cac6c584044034210fe0ba1e6b930ff1cc59465";
|
||||
sha256 = "01cnmk4khbbgzc308qj04sfwg0r8b9nh3s7xjsxdjcb3h1m9w88c";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
16
pkgs/development/tools/jq/darwin-strptime-test.patch
Normal file
16
pkgs/development/tools/jq/darwin-strptime-test.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git a/tests/jq.test b/tests/jq.test
|
||||
index 4a4018b..f5aa7d5 100644
|
||||
--- a/src/tests/jq.test
|
||||
+++ b/src/tests/jq.test
|
||||
@@ -1144,9 +1144,9 @@ bsearch(4)
|
||||
[1,2,3]
|
||||
-4
|
||||
|
||||
-[strptime("%Y-%m-%dT%H:%M:%SZ")|(.,mktime)]
|
||||
+[strptime("%Y-%m-%dT%H:%M:%SZ")|mktime]
|
||||
"2015-03-05T23:51:47Z"
|
||||
-[[2015,2,5,23,51,47,4,63],1425599507]
|
||||
+[1425599507]
|
||||
|
||||
strftime("%Y-%m-%dT%H:%M:%SZ")
|
||||
[2015,2,5,23,51,47,4,63]
|
||||
@@ -24,7 +24,9 @@ stdenv.mkDerivation rec {
|
||||
url = https://patch-diff.githubusercontent.com/raw/stedolan/jq/pull/1214.diff;
|
||||
sha256 = "1w8bapnyp56di6p9casbfczfn8258rw0z16grydavdjddfm280l9";
|
||||
})
|
||||
];
|
||||
]
|
||||
++ stdenv.lib.optional stdenv.isDarwin ./darwin-strptime-test.patch;
|
||||
|
||||
patchFlags = [ "-p2" ]; # `src` subdir was introduced after v1.5 was released
|
||||
|
||||
configureFlags =
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
{ stdenv, fetchFromGitHub, pythonPackages, makeWrapper, gdb }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pwndbg-2018-04-06";
|
||||
name = "pwndbg-${version}";
|
||||
version = "2018.07.29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pwndbg";
|
||||
repo = "pwndbg";
|
||||
rev = "e225ba9f647ab8f7f4871075529c0ec239f43300";
|
||||
sha256 = "1s6m93qi3baclgqqii4fnmzjmg0c6ipkscg7xiljaj5z4bs371j4";
|
||||
rev = version;
|
||||
sha256 = "1illk1smknaaa0ck8mwvig15c8al5w7fdp42a748xvm8wvxqxdsc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
49
pkgs/development/tools/trellis/default.nix
Normal file
49
pkgs/development/tools/trellis/default.nix
Normal file
@@ -0,0 +1,49 @@
|
||||
{ stdenv, fetchFromGitHub, python3, cmake, boost }:
|
||||
|
||||
let
|
||||
trellisdb = fetchFromGitHub {
|
||||
owner = "SymbiFlow";
|
||||
repo = "prjtrellis-db";
|
||||
rev = "06b429ddb7fd8ec1e3f2b35de2e94b4853cf2835";
|
||||
sha256 = "07bsgw5x3gq0jcn9j4g7q9xvibvz6j2arjnvgyrxnrg30ri9q173";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "trellis-${version}";
|
||||
version = "2018.08.01";
|
||||
|
||||
buildInputs = [
|
||||
(boost.override { python = python3; enablePython = true; })
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake python3
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SymbiFlow";
|
||||
repo = "prjtrellis";
|
||||
rev = "fff9532fe59bf9e38b44f029ce4a06c607a9ee78";
|
||||
sha256 = "0ycw9fjf6428sf5x8x5szn8fha79610nf7nn8kmibgmz9868yv30";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
source environment.sh
|
||||
cp -RT "${trellisdb}" database
|
||||
cd libtrellis
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Documentation and tools for Lattice ECP5 FPGAs";
|
||||
longDescription = ''
|
||||
Project Trellis documents the Lattice ECP5 architecture
|
||||
to enable development of open-source tools. Its goal is
|
||||
to provide sufficient information to develop a free and
|
||||
open Verilog to bitstream toolchain for these devices.
|
||||
'';
|
||||
homepage = https://github.com/SymbiFlow/prjtrellis;
|
||||
license = stdenv.lib.licenses.isc;
|
||||
maintainers = with stdenv.lib.maintainers; [ q3k ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user