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
31
pkgs/applications/editors/qxw/default.nix
Normal file
31
pkgs/applications/editors/qxw/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gtk2, pcre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qxw";
|
||||
version = "20200708";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.quinapalus.com/qxw-${version}.tar.gz";
|
||||
sha256 = "1si3ila7137c7x4mp3jv1q1mh3jp0p4khir1yz1rwy0mp3znwv7d";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ gtk2 pcre ];
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's/ `dpkg-buildflags[^`]*`//g;
|
||||
/mkdir -p/d;
|
||||
s/cp -a/install -D/;
|
||||
s,/usr/games,/bin,' Makefile
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A program to help create and publish crosswords";
|
||||
homepage = "https://www.quinapalus.com/qxw.html";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.tckmn ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue