git.iko.soy/typeable/nixpkgs
on master help sign in
trellis: init 2018.08.01 (#44328)

* trellis: init 2018.08.01 * trellis: move boost to buildInputs * trellis: remove leftover debug clause

commit742a50dafdb7dd9bd16fd6c400e145e62b8b295a authorSerge Bazanski <sergiusz@q3k.org> dateThu 2 Aug 2018, 09:18 (8 years ago) parentaf4448e
3 files changed+56
maintainers/maintainer-list.nix+5 pkgs/development/tools/trellis/default.nix+49 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -3197,6 +3197,11 @@
31973197 email = "patrick.callahan@latitudeengineering.com";
31983198 name = "Patrick Callahan";
31993199 };
3200+ q3k = {
3201+ email = "q3k@q3k.org";
3202+ github = "q3k";
3203+ name = "Serge Bazanski";
3204+ };
32003205 qknight = {
32013206 email = "js@lastlog.de";
32023207 github = "qknight";
pkgs/development/tools/trellis/default.nixnew file+49
@@ -0,0 +1,49 @@
1+{ stdenv, fetchFromGitHub, python3, cmake, boost }:
2+
3+let
4+ trellisdb = fetchFromGitHub {
5+ owner = "SymbiFlow";
6+ repo = "prjtrellis-db";
7+ rev = "06b429ddb7fd8ec1e3f2b35de2e94b4853cf2835";
8+ sha256 = "07bsgw5x3gq0jcn9j4g7q9xvibvz6j2arjnvgyrxnrg30ri9q173";
9+ };
10+in
11+stdenv.mkDerivation rec {
12+ name = "trellis-${version}";
13+ version = "2018.08.01";
14+
15+ buildInputs = [
16+ (boost.override { python = python3; enablePython = true; })
17+ ];
18+
19+ nativeBuildInputs = [
20+ cmake python3
21+ ];
22+
23+ src = fetchFromGitHub {
24+ owner = "SymbiFlow";
25+ repo = "prjtrellis";
26+ rev = "fff9532fe59bf9e38b44f029ce4a06c607a9ee78";
27+ sha256 = "0ycw9fjf6428sf5x8x5szn8fha79610nf7nn8kmibgmz9868yv30";
28+ };
29+
30+ preConfigure = ''
31+ source environment.sh
32+ cp -RT "${trellisdb}" database
33+ cd libtrellis
34+ '';
35+
36+ meta = {
37+ description = "Documentation and tools for Lattice ECP5 FPGAs";
38+ longDescription = ''
39+ Project Trellis documents the Lattice ECP5 architecture
40+ to enable development of open-source tools. Its goal is
41+ to provide sufficient information to develop a free and
42+ open Verilog to bitstream toolchain for these devices.
43+ '';
44+ homepage = https://github.com/SymbiFlow/prjtrellis;
45+ license = stdenv.lib.licenses.isc;
46+ maintainers = with stdenv.lib.maintainers; [ q3k ];
47+ platforms = stdenv.lib.platforms.linux;
48+ };
49+}
pkgs/top-level/all-packages.nix+2
@@ -8624,6 +8624,8 @@ with pkgs;
86248624
86258625 travis = callPackage ../development/tools/misc/travis { };
86268626
8627+ trellis = callPackage ../development/tools/trellis { };
8628+
86278629 tweak = callPackage ../applications/editors/tweak { };
86288630
86298631 uhd = callPackage ../development/tools/misc/uhd { };