mailcap: 2.1.48 -> 2.1.52
This commit is contained in:
parent
0d8460a13a
commit
f40b3249f1
@ -1,23 +1,23 @@
|
|||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.1.48";
|
version = "2.1.52";
|
||||||
|
|
||||||
in fetchzip {
|
in fetchzip {
|
||||||
name = "mailcap-${version}";
|
name = "mailcap-${version}";
|
||||||
|
|
||||||
url = "https://releases.pagure.org/mailcap/mailcap-${version}.tar.xz";
|
url = "https://releases.pagure.org/mailcap/mailcap-${version}.tar.xz";
|
||||||
sha256 = "08d0avz8971hkggd60dk9yyd14izz24yag3prpfafbvm670jlmqg";
|
sha256 = "sha256-2GRNg3zoMPMaOk2zoAx5sVIzjbQhnYJuaO8nrzWujVc=";
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
tar -xavf $downloadedFile --strip-components=1
|
tar -xavf $downloadedFile --strip-components=1
|
||||||
substituteInPlace mailcap --replace "/usr/bin/" ""
|
substituteInPlace mailcap --replace "/usr/bin/" ""
|
||||||
gzip mailcap.4
|
gzip mailcap.5
|
||||||
sh generate-nginx-mimetypes.sh < mime.types > nginx-mime.types
|
sh generate-nginx-mimetypes.sh < mime.types > nginx-mime.types
|
||||||
|
|
||||||
install -D -m0644 nginx-mime.types $out/etc/nginx/mime.types
|
install -D -m0644 nginx-mime.types $out/etc/nginx/mime.types
|
||||||
install -D -m0644 -t $out/etc mailcap mime.types
|
install -D -m0644 -t $out/etc mailcap mime.types
|
||||||
install -D -m0644 -t $out/share/man/man4 mailcap.4.gz
|
install -D -m0644 -t $out/share/man/man5 mailcap.5.gz
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user