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