mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
qxw: init at 20190909
This commit is contained in:
parent
75aec2aae3
commit
262e5b254b
31
pkgs/applications/editors/qxw/default.nix
Normal file
31
pkgs/applications/editors/qxw/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user