1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/pkgs/tools/admin/dehydrated/default.nix
R. RyanTM df71eaa0b0 dehydrated: 0.6.2 -> 0.6.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dehydrated/versions
2019-07-02 20:09:52 +02:00

32 lines
889 B
Nix

{ stdenv, coreutils, curl, diffutils, gawk, gnugrep, gnused, openssl, makeWrapper, fetchFromGitHub }:
let
pkgName = "dehydrated";
version = "0.6.5";
in
stdenv.mkDerivation rec {
name = pkgName + "-" + version;
src = fetchFromGitHub {
owner = "lukas2511";
repo = "dehydrated";
rev = "v${version}";
sha256 = "14k7ykry16zp09i0bqb5pqaclvnjcb6p3x8knm9v5q0bdvlplkjv";
};
buildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
cp -a dehydrated $out/bin
wrapProgram "$out/bin/dehydrated" --prefix PATH : "${stdenv.lib.makeBinPath [ openssl coreutils gnused gnugrep diffutils curl gawk ]}"
'';
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Letsencrypt/acme client implemented as a shell-script";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.pstn ];
};
}