summary refs log tree commit diff
path: root/pkgs/development/tools/icestorm/default.nix
diff options
context:
space:
mode:
authorShell Turner <cam.turn@gmail.com>2015-12-29 16:29:44 +0000
committerShell Turner <cam.turn@gmail.com>2015-12-30 16:52:41 +0000
commitc1ec39d47be64499956d51e5684dadf69bf4c352 (patch)
tree7eb936c746279ee7420cb41d5db80a147e8802f0 /pkgs/development/tools/icestorm/default.nix
parent3a8112f7daf69190f81a5420bef3c5fac4aaf703 (diff)
downloadnixpkgs-c1ec39d47be64499956d51e5684dadf69bf4c352.tar
nixpkgs-c1ec39d47be64499956d51e5684dadf69bf4c352.tar.gz
nixpkgs-c1ec39d47be64499956d51e5684dadf69bf4c352.tar.bz2
nixpkgs-c1ec39d47be64499956d51e5684dadf69bf4c352.tar.lz
nixpkgs-c1ec39d47be64499956d51e5684dadf69bf4c352.tar.xz
nixpkgs-c1ec39d47be64499956d51e5684dadf69bf4c352.tar.zst
nixpkgs-c1ec39d47be64499956d51e5684dadf69bf4c352.zip
icestorm: init at 2015.12.29
Diffstat (limited to 'pkgs/development/tools/icestorm/default.nix')
-rw-r--r--pkgs/development/tools/icestorm/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/tools/icestorm/default.nix b/pkgs/development/tools/icestorm/default.nix
new file mode 100644
index 00000000000..726b805fe91
--- /dev/null
+++ b/pkgs/development/tools/icestorm/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchFromGitHub, python3, libftdi }:
+
+stdenv.mkDerivation rec {
+  name = "icestorm-${version}";
+  version = "2015.12.29";
+
+  src = fetchFromGitHub {
+    owner = "cliffordwolf";
+    repo = "icestorm";
+    rev = "7852514c2cde208da87b62777b2c5e482092f50d";
+    sha256 = "1ya1nk5h28hjdmd8jdrlfiayr2434rnvi133gs1p0ay21qb3iwfz";
+  };
+
+  buildInputs = [ python3 libftdi ];
+  preBuild = ''
+    makeFlags="DESTDIR=$out $makeFlags"
+  '';
+
+  meta = {
+    description = "Documentation and tools for Lattice iCE40 FPGAs";
+    longDescription = ''
+      Project IceStorm aims at reverse engineering and
+      documenting the bitstream format of Lattice iCE40
+      FPGAs and providing simple tools for analyzing and
+      creating bitstream files.
+    '';
+    homepage = http://www.clifford.at/icestorm/;
+    license = stdenv.lib.licenses.isc;
+    maintainers = [ stdenv.lib.maintainers.shell ];
+  };
+}