diff options
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 0000000..4240c57 --- /dev/null +++ b/pkgs/flrn/default.nix | |||
@@ -0,0 +1,13 @@ | |||
1 | { stdenv, fetchedGithub, libetpan, openssl, autoconf, groff, slang, yacc }: | ||
2 | stdenv.mkDerivation (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 | }) | ||