2018-11-30 15:35:47 +00:00
|
|
|
{ lib, stdenv, fetchgit
|
|
|
|
, flex, bison, fig2dev, imagemagick, netpbm, gtk2
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2018-11-30 15:35:47 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
with lib;
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "fped";
|
2018-11-30 15:35:47 +00:00
|
|
|
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 = [
|
2019-09-03 17:38:57 +01:00
|
|
|
"PREFIX=${placeholder "out"}"
|
2018-11-30 15:35:47 +00:00
|
|
|
"LEX=flex"
|
2020-02-25 23:41:09 +00:00
|
|
|
"RGBDEF=${netpbm.out}/share/netpbm/misc/rgb.txt"
|
2018-11-30 15:35:47 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
flex
|
|
|
|
bison
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2018-11-30 15:35:47 +00:00
|
|
|
imagemagick
|
|
|
|
fig2dev
|
|
|
|
netpbm
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk2
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An editor that allows the interactive creation of footprints electronic components";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://projects.qi-hardware.com/index.php/p/fped/";
|
2018-11-30 15:35:47 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ expipiplus1 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|