From 24fd1fe6c62b7a9fc347794fde043285da272f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 13 Dec 2018 21:25:24 +0100 Subject: Initial commit published for NUR --- pkgs/flrn/default.nix | 13 +++++++++++++ pkgs/flrn/flrn.json | 15 +++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/flrn/default.nix create mode 100644 pkgs/flrn/flrn.json (limited to 'pkgs/flrn') diff --git a/pkgs/flrn/default.nix b/pkgs/flrn/default.nix new file mode 100644 index 00000000..f288615a --- /dev/null +++ b/pkgs/flrn/default.nix @@ -0,0 +1,13 @@ +{ stdenv, mylibs, libetpan, openssl, autoconf, groff, slang, yacc }: +stdenv.mkDerivation (mylibs.fetchedGithub ./flrn.json // { + buildInputs = [ libetpan openssl autoconf groff slang yacc ]; + preConfigure = '' + sed -i -e "s/test -e configure/false/" configure.in + autoconf + sed -i -e '/define CHECK_MAIL/d' src/flrn_config.h + sed -i -e '/DEFAULT_DIR_FILE/s@".flrn"@".config/flrn"@' src/flrn_config.h + sed -i -e '/DEFAULT_CONFIG_FILE/s@".flrnrc"@"flrnrc"@' src/flrn_config.h + sed -i -e '/DEFAULT_FLNEWS_FILE/s@".flnewsrc"@"flnewsrc"@' src/flrn_config.h + sed -i -e '/flrn_char chaine/s@18@20@' src/flrn_command.c + ''; +}) diff --git a/pkgs/flrn/flrn.json b/pkgs/flrn/flrn.json new file mode 100644 index 00000000..3d7a9443 --- /dev/null +++ b/pkgs/flrn/flrn.json @@ -0,0 +1,15 @@ +{ + "tag": "860d642-master", + "meta": { + "name": "flrn", + "url": "https://github.com/Cigaes/flrn", + "branch": "master" + }, + "github": { + "owner": "Cigaes", + "repo": "flrn", + "rev": "860d642bd6389a209c8b697bd044f78d23406509", + "sha256": "0sqlxxpy1xg7cb2hbxcr0al46nyr6jjnns4b5i8w04z5sypa9r5c", + "fetchSubmodules": true + } +} -- cgit v1.2.3