@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl, libiconv }:
22
33stdenv.mkDerivation rec {
44 pname = "ripmime";
@@ -8,6 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "0sj06ibmlzy34n8v0mnlq2gwidy7n2aqcwgjh0xssz3vi941aqc9";
99 };
1010
11+ buildInputs = [ libiconv ];
1112 preInstall = ''
1213 sed -i Makefile -e "s@LOCATION=.*@LOCATION=$out@" -e "s@man/man1@share/&@"
1314 mkdir -p "$out/bin" "$out/share/man/man1"
@@ -19,7 +20,7 @@ stdenv.mkDerivation rec {
1920 description = "Attachment extractor for MIME messages";
2021 maintainers = with maintainers; [ raskin ];
2122 homepage = "http://www.pldaniels.com/ripmime/";
22− platforms = platforms.linux;
23+ platforms = platforms.all;
2324 };
2425
2526 passthru = {