Merge pull request #50084 from r-ryantm/auto-update/hyx
hyx: 0.1.4 -> 0.1.5
This commit is contained in:
commit
d7cdc480e1
@ -1,13 +1,15 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "hyx-0.1.4";
|
||||
name = "hyx-0.1.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://yx7.cc/code/hyx/${name}.tar.xz";
|
||||
sha256 = "049r610hyrrfa62vpiqyb3rh99bpy8cnqy4nd4sih01733cmdhyx";
|
||||
sha256 = "0gd8fbdyw12jwffa5dgcql4ry22xbdhqdds1qwzk1rkcrkgnc1mg";
|
||||
};
|
||||
|
||||
patches = [ ./no-wall-by-default.patch ];
|
||||
|
||||
installPhase = ''
|
||||
install -vD hyx $out/bin/hyx
|
||||
'';
|
||||
@ -17,6 +19,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = https://yx7.cc/code/;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
platforms = platforms.all;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
11
pkgs/tools/text/hyx/no-wall-by-default.patch
Normal file
11
pkgs/tools/text/hyx/no-wall-by-default.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- hyx-0.1.5.org/Makefile 2018-06-02 17:14:37.000000000 +0100
|
||||
+++ hyx-0.1.5/Makefile 2018-11-10 09:25:49.569961762 +0000
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
all: CFLAGS ?= -O2 -Wl,-s \
|
||||
-Wl,-z,relro,-z,now -fpic -pie -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
-all: CFLAGS += -std=c99 -pedantic -Wall -Wextra -DNDEBUG
|
||||
+all: CFLAGS += -std=c99 -DNDEBUG
|
||||
all: hyx
|
||||
|
||||
debug: CFLAGS ?= -O0 -g \
|
Loading…
Reference in New Issue
Block a user