diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-13 21:25:24 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-24 01:40:13 +0200 |
commit | 24fd1fe6c62b7a9fc347794fde043285da272f5c (patch) | |
tree | 65557bf1d241ca389b619dbd24d18d51932ee030 /pkgs/flrn/default.nix | |
download | NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.gz NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.zst NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.zip |
Initial commit published for NUR
Diffstat (limited to 'pkgs/flrn/default.nix')
-rw-r--r-- | pkgs/flrn/default.nix | 13 |
1 files changed, 13 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 }: | ||
2 | stdenv.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 | }) | ||