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
27
pkgs/applications/editors/flpsed/default.nix
Normal file
27
pkgs/applications/editors/flpsed/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, fetchurl, fltk13, ghostscript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flpsed";
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.flpsed.org/${pname}-${version}.tar.gz";
|
||||
sha256 = "0vngqxanykicabhfdznisv82k5ypkxwg0s93ms9ribvhpm8vf2xp";
|
||||
};
|
||||
|
||||
buildInputs = [ fltk13 ];
|
||||
|
||||
postPatch = ''
|
||||
# replace the execvp call to ghostscript
|
||||
sed -e '/exec_gs/ {n; s|"gs"|"${lib.getBin ghostscript}/bin/gs"|}' \
|
||||
-i src/GsWidget.cxx
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "WYSIWYG PostScript annotator";
|
||||
homepage = "https://flpsed.org/flpsed.html";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue