@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl, libiconv }:
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 pname = "ripmime";
4 pname = "ripmime";
@@ -8,6 +8,7 @@ stdenv.mkDerivation rec {
8 sha256 = "0sj06ibmlzy34n8v0mnlq2gwidy7n2aqcwgjh0xssz3vi941aqc9";
8 sha256 = "0sj06ibmlzy34n8v0mnlq2gwidy7n2aqcwgjh0xssz3vi941aqc9";
11+ buildInputs = [ libiconv ];
11 preInstall = ''
12 preInstall = ''
12 sed -i Makefile -e "s@LOCATION=.*@LOCATION=$out@" -e "s@man/man1@share/&@"
13 sed -i Makefile -e "s@LOCATION=.*@LOCATION=$out@" -e "s@man/man1@share/&@"
13 mkdir -p "$out/bin" "$out/share/man/man1"
14 mkdir -p "$out/bin" "$out/share/man/man1"
@@ -19,7 +20,7 @@ stdenv.mkDerivation rec {
19 description = "Attachment extractor for MIME messages";
20 description = "Attachment extractor for MIME messages";
20 maintainers = with maintainers; [ raskin ];
21 maintainers = with maintainers; [ raskin ];
21 homepage = "http://www.pldaniels.com/ripmime/";
22 homepage = "http://www.pldaniels.com/ripmime/";
22− platforms = platforms.linux;
23+ platforms = platforms.all;
25 passthru = {
26 passthru = {