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
65
pkgs/applications/science/electronics/pcb/default.nix
Normal file
65
pkgs/applications/science/electronics/pcb/default.nix
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, gtk2
|
||||
, bison
|
||||
, intltool
|
||||
, flex
|
||||
, netpbm
|
||||
, imagemagick
|
||||
, dbus
|
||||
, xlibsWrapper
|
||||
, libGLU
|
||||
, libGL
|
||||
, shared-mime-info
|
||||
, tcl
|
||||
, tk
|
||||
, gnome2
|
||||
, gd
|
||||
, xorg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pcb";
|
||||
version = "4.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pcb/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-roUvRq+Eq6f1HYE/uRb8f82+6kP3E08VBQcCThdD+14=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bison
|
||||
intltool
|
||||
flex
|
||||
netpbm
|
||||
imagemagick
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk2
|
||||
dbus
|
||||
xlibsWrapper
|
||||
libGLU
|
||||
libGL
|
||||
tcl
|
||||
shared-mime-info
|
||||
tk
|
||||
gnome2.gtkglext
|
||||
gd
|
||||
xorg.libXmu
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--disable-update-desktop-database"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Printed Circuit Board editor";
|
||||
homepage = "http://pcb.geda-project.org/";
|
||||
maintainers = with maintainers; [ mog ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue