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
44
pkgs/applications/science/electronics/fped/default.nix
Normal file
44
pkgs/applications/science/electronics/fped/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchgit
|
||||
, flex, bison, fig2dev, imagemagick, netpbm, gtk2
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
with lib;
|
||||
stdenv.mkDerivation {
|
||||
pname = "fped";
|
||||
version = "unstable-2017-05-11";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://projects.qi-hardware.com/fped.git";
|
||||
rev = "fa98e58157b6f68396d302c32421e882ac87f45b";
|
||||
sha256 = "0xv364a00zwxhd9kg1z9sch5y0cxnrhk546asspyb9bh58sdzfy7";
|
||||
};
|
||||
|
||||
# This uses '/bin/bash', '/usr/local' and 'lex' by default
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
"LEX=flex"
|
||||
"RGBDEF=${netpbm.out}/share/netpbm/misc/rgb.txt"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
flex
|
||||
bison
|
||||
pkg-config
|
||||
imagemagick
|
||||
fig2dev
|
||||
netpbm
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk2
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "An editor that allows the interactive creation of footprints electronic components";
|
||||
homepage = "http://projects.qi-hardware.com/index.php/p/fped/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ expipiplus1 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue