ripemime: fix darwin build
This commit is contained in:
parent
8bd1dd33d1
commit
30350ec028
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ripmime";
|
||||
|
@ -8,6 +8,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0sj06ibmlzy34n8v0mnlq2gwidy7n2aqcwgjh0xssz3vi941aqc9";
|
||||
};
|
||||
|
||||
buildInputs = [ libiconv ];
|
||||
preInstall = ''
|
||||
sed -i Makefile -e "s@LOCATION=.*@LOCATION=$out@" -e "s@man/man1@share/&@"
|
||||
mkdir -p "$out/bin" "$out/share/man/man1"
|
||||
|
@ -19,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||
description = "Attachment extractor for MIME messages";
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
homepage = "http://www.pldaniels.com/ripmime/";
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
||||
passthru = {
|
||||
|
|
Loading…
Reference in a new issue