forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6529,6 +6529,13 @@ | |
githubId = 46724898; | ||
name = "Erik Backman"; | ||
}; | ||
erikeah = { | ||
email = "[email protected]"; | ||
github = "erikeah"; | ||
githubId = 11900869; | ||
keys = [ { fingerprint = "4142 0380 C7F8 BCDA CC9E 7ABA 0FF3 076B 71F2 5DEF"; } ]; | ||
name = "Erik Alonso"; | ||
}; | ||
erikryb = { | ||
email = "[email protected]"; | ||
github = "erikryb"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
lib, | ||
rustPlatform, | ||
fetchFromGitHub, | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "kamp"; | ||
version = "0.2.1"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "vbauerster"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
hash = "sha256-9cakFhA9niMZ0jD0ilgCUztk4uL6wDp6zfHUJY/yLYw="; | ||
}; | ||
|
||
cargoHash = "sha256-BnVV0UnXEebq1kbQvv8PkmntLK0BwrOcMxxIODpZrxc="; | ||
|
||
postInstall = '' | ||
install scripts/* -Dt $out/bin | ||
''; | ||
|
||
meta = { | ||
description = "Tool to control Kakoune editor from the command line"; | ||
homepage = "https://github.com/vbauerster/kamp"; | ||
license = lib.licenses.unlicense; | ||
maintainers = with lib.maintainers; [ erikeah ]; | ||
mainProgram = "kamp"; | ||
platforms = lib.platforms.linux; | ||
}; | ||
} |