acme-client: use source tarball to avoid autoreconf
This was suggested by the upstream maintainer [1], and it is a nice simplification. Also change the url to sr.ht as the project has moved there. [1]: https://github.com/NixOS/nixpkgs/pull/88201#issuecomment-633260151
This commit is contained in:
parent
d4d36c37c7
commit
bdd706ccb2
@ -1,7 +1,5 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, fetchurl
|
||||||
, autoreconfHook
|
|
||||||
, bison
|
|
||||||
, apple_sdk ? null
|
, apple_sdk ? null
|
||||||
, libbsd
|
, libbsd
|
||||||
, libressl
|
, libressl
|
||||||
@ -14,20 +12,18 @@ stdenv.mkDerivation rec {
|
|||||||
pname = "acme-client";
|
pname = "acme-client";
|
||||||
version = "1.0.1";
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchurl {
|
||||||
owner = "graywolf";
|
url = "https://data.wolfsden.cz/sources/acme-client-${version}.tar.xz";
|
||||||
repo = "acme-client-portable";
|
sha256 = "0gmdvmyw8a61w08hrxllypf7rpnqg0fxipbk3zmvsxj7m5i6iysj";
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "0ds7lxn08yiq7hap1xh014smjhd4gf9lv9ypfrf1ahqna3s2w7k8";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook bison pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libbsd libressl ] ++ optional stdenv.isDarwin apple_sdk.sdk;
|
buildInputs = [ libbsd libressl ] ++ optional stdenv.isDarwin apple_sdk.sdk;
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/graywolf/acme-client-portable";
|
homepage = "https://sr.ht/~graywolf/acme-client-portable/";
|
||||||
description = "Secure ACME/Let's Encrypt client";
|
description = "Secure ACME/Let's Encrypt client";
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user