qxw: init at 20190909

This commit is contained in:
Andy Tockman 2020-03-09 15:28:35 -04:00
parent 75aec2aae3
commit 262e5b254b
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, fetchurl, pkg-config, gtk2, pcre }:
let version = "20190909"; in stdenv.mkDerivation {
inherit version;
pname = "qxw";
src = fetchurl {
url = "https://www.quinapalus.com/qxw-${version}.tar.gz";
sha256 = "1w6f2c70lbdbi2dvh3rm463ai20fhfnnxf205kyyl46gz141kz48";
};
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 stdenv.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;
};
}

View File

@ -21324,6 +21324,8 @@ in
qutebrowser = libsForQt5.callPackage ../applications/networking/browsers/qutebrowser { };
qxw = callPackage ../applications/editors/qxw {};
rabbitvcs = callPackage ../applications/version-management/rabbitvcs {};
rakarrack = callPackage ../applications/audio/rakarrack {