]>
Commit | Line | Data |
---|---|---|
1 | { stdenv, fetchFromGitHub, libetpan, openssl, autoconf, groff, slang, yacc }: | |
2 | stdenv.mkDerivation (rec { | |
3 | version = "860d642-master"; | |
4 | pname = "flrn"; | |
5 | src = fetchFromGitHub { | |
6 | owner = "Cigaes"; | |
7 | repo = "flrn"; | |
8 | rev = "860d642bd6389a209c8b697bd044f78d23406509"; | |
9 | sha256 = "0sqlxxpy1xg7cb2hbxcr0al46nyr6jjnns4b5i8w04z5sypa9r5c"; | |
10 | fetchSubmodules = true; | |
11 | }; | |
12 | buildInputs = [ libetpan openssl autoconf groff slang yacc ]; | |
13 | preConfigure = '' | |
14 | sed -i -e "s/test -e configure/false/" configure.in | |
15 | autoconf | |
16 | sed -i -e '/define CHECK_MAIL/d' src/flrn_config.h | |
17 | sed -i -e '/DEFAULT_DIR_FILE/s@".flrn"@".config/flrn"@' src/flrn_config.h | |
18 | sed -i -e '/DEFAULT_CONFIG_FILE/s@".flrnrc"@"flrnrc"@' src/flrn_config.h | |
19 | sed -i -e '/DEFAULT_FLNEWS_FILE/s@".flnewsrc"@"flnewsrc"@' src/flrn_config.h | |
20 | sed -i -e '/flrn_char chaine/s@18@20@' src/flrn_command.c | |
21 | ''; | |
22 | }) |