summaryrefslogtreecommitdiff
path: root/pkgs/flrn
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-12-13 21:25:24 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-24 01:40:13 +0200
commit24fd1fe6c62b7a9fc347794fde043285da272f5c (patch)
tree65557bf1d241ca389b619dbd24d18d51932ee030 /pkgs/flrn
downloadNUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.gz
NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.zst
NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.zip
Initial commit published for NUR
Diffstat (limited to 'pkgs/flrn')
-rw-r--r--pkgs/flrn/default.nix13
-rw-r--r--pkgs/flrn/flrn.json15
2 files changed, 28 insertions, 0 deletions
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 @@
1{ stdenv, mylibs, libetpan, openssl, autoconf, groff, slang, yacc }:
2stdenv.mkDerivation (mylibs.fetchedGithub ./flrn.json // {
3 buildInputs = [ libetpan openssl autoconf groff slang yacc ];
4 preConfigure = ''
5 sed -i -e "s/test -e configure/false/" configure.in
6 autoconf
7 sed -i -e '/define CHECK_MAIL/d' src/flrn_config.h
8 sed -i -e '/DEFAULT_DIR_FILE/s@".flrn"@".config/flrn"@' src/flrn_config.h
9 sed -i -e '/DEFAULT_CONFIG_FILE/s@".flrnrc"@"flrnrc"@' src/flrn_config.h
10 sed -i -e '/DEFAULT_FLNEWS_FILE/s@".flnewsrc"@"flnewsrc"@' src/flrn_config.h
11 sed -i -e '/flrn_char chaine/s@18@20@' src/flrn_command.c
12 '';
13})
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 @@
1{
2 "tag": "860d642-master",
3 "meta": {
4 "name": "flrn",
5 "url": "https://github.com/Cigaes/flrn",
6 "branch": "master"
7 },
8 "github": {
9 "owner": "Cigaes",
10 "repo": "flrn",
11 "rev": "860d642bd6389a209c8b697bd044f78d23406509",
12 "sha256": "0sqlxxpy1xg7cb2hbxcr0al46nyr6jjnns4b5i8w04z5sypa9r5c",
13 "fetchSubmodules": true
14 }
15}