uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
59
pkgs/applications/science/electronics/magic-vlsi/default.nix
Normal file
59
pkgs/applications/science/electronics/magic-vlsi/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, python3
|
||||
, m4
|
||||
, cairo
|
||||
, libX11
|
||||
, mesa_glu
|
||||
, ncurses
|
||||
, tcl
|
||||
, tcsh
|
||||
, tk
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "magic-vlsi";
|
||||
version = "8.3.277";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://opencircuitdesign.com/magic/archive/magic-${version}.tgz";
|
||||
sha256 = "sha256-cS3KaIVwGN/mMfRKjJxzdY6DeNV7tw2fATIHrFBV0fY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python3 ];
|
||||
buildInputs = [
|
||||
cairo
|
||||
libX11
|
||||
m4
|
||||
mesa_glu
|
||||
ncurses
|
||||
tcl
|
||||
tcsh
|
||||
tk
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [
|
||||
"--with-tcl=${tcl}"
|
||||
"--with-tk=${tk}"
|
||||
"--disable-werror"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs scripts/*
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
|
||||
|
||||
patches = [
|
||||
./0001-strip-bin-prefix.patch
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "VLSI layout tool written in Tcl";
|
||||
homepage = "http://opencircuitdesign.com/magic/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ anna328p thoughtpolice AndersonTorres ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue