mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 20:03:24 +00:00
emacs.pkgs.plz: init at unstable-2021-08-22
This commit is contained in:
parent
cf0caf529c
commit
38a96d8148
@ -284,6 +284,8 @@
|
||||
|
||||
perl-completion = callPackage ./perl-completion { };
|
||||
|
||||
plz = callPackage ./plz { };
|
||||
|
||||
pod-mode = callPackage ./pod-mode { };
|
||||
|
||||
power-mode = callPackage ./power-mode { };
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user