1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

fped: init at 2017-05-11

This commit is contained in:
Joe Hermaszewski 2018-11-30 23:35:47 +08:00
parent 282f6dfac4
commit 0e2d27f5af
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{ lib, stdenv, fetchgit
, flex, bison, fig2dev, imagemagick, netpbm, gtk2
, pkgconfig
}:
with lib;
stdenv.mkDerivation rec {
name = "fped-${version}";
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}/share/netpbm/misc/rgb.txt"
];
nativeBuildInputs = [
flex
bison
pkgconfig
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;
};
}

View file

@ -22314,6 +22314,8 @@ in
gtkwave = callPackage ../applications/science/electronics/gtkwave { };
fped = callPackage ../applications/science/electronics/fped { };
kicad = callPackage ../applications/science/electronics/kicad {
wxGTK = wxGTK30;
boost = boost160;