Merge pull request #115424 from siraben/darwin-mass-fix-buildInputs=0

This commit is contained in:
Sandro
2021-03-09 21:14:38 +01:00
committed by GitHub
17 changed files with 45 additions and 28 deletions
+3 -2
View File
@@ -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 = {