emacs.pkgs.plz: init at unstable-2021-08-22

This commit is contained in:
adisbladis 2021-09-14 16:38:56 -05:00
parent cf0caf529c
commit 38a96d8148
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7
2 changed files with 25 additions and 0 deletions

View File

@ -284,6 +284,8 @@
perl-completion = callPackage ./perl-completion { };
plz = callPackage ./plz { };
pod-mode = callPackage ./pod-mode { };
power-mode = callPackage ./power-mode { };

View File

@ -0,0 +1,23 @@
{ trivialBuild, lib, fetchFromGitHub, curl }:
trivialBuild {
pname = "plz";
version = "unstable-2021-08-22";
src = fetchFromGitHub {
owner = "alphapapa";
repo = "plz.el";
rev = "7e456638a651bab3a814e3ea81742dd917509cbb";
sha256 = "sha256-8kn9ax1AVF6f9iCTqvVeJZihs03pYAhLjUDooG/ubxY=";
};
postPatch = ''
substituteInPlace ./plz.el --replace 'plz-curl-program "curl"' 'plz-curl-program "${curl}/bin/curl"'
'';
meta = {
description = "plz is an HTTP library for Emacs";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
};
}