mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
parinfer-rust: init at 0.3.1
This commit is contained in:
parent
3fcd66cce8
commit
037c15654a
3 changed files with 35 additions and 0 deletions
|
@ -1536,6 +1536,11 @@
|
|||
github = "eqyiel";
|
||||
name = "Ruben Maher";
|
||||
};
|
||||
eraserhd = {
|
||||
email = "jason.m.felice@gmail.com";
|
||||
github = "eraserhd";
|
||||
name = "Jason Felice";
|
||||
};
|
||||
ericbmerritt = {
|
||||
email = "eric@afiniate.com";
|
||||
github = "ericbmerritt";
|
||||
|
|
28
pkgs/development/tools/parinfer-rust/default.nix
Normal file
28
pkgs/development/tools/parinfer-rust/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "parinfer-rust-${version}";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eraserhd";
|
||||
repo = "parinfer-rust";
|
||||
rev = "v${version}";
|
||||
sha256 = "0w7fcg33k8k16q8wzax44ck8csa2dr7bmwcz1g57dz33vhxi8ajc";
|
||||
};
|
||||
|
||||
cargoSha256 = "17fkzpvfaxixllr9nxx7dnpqxkiighggryxf30j3lafghyrx987f";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/kak/autoload/plugins
|
||||
cp rc/parinfer.kak $out/share/kak/autoload/plugins/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Infer parentheses for Clojure, Lisp, and Scheme.";
|
||||
homepage = "https://github.com/eraserhd/parinfer-rust";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ eraserhd ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -9347,6 +9347,8 @@ in
|
|||
|
||||
pants = callPackage ../development/tools/build-managers/pants {};
|
||||
|
||||
parinfer-rust = callPackage ../development/tools/parinfer-rust {};
|
||||
|
||||
parse-cli-bin = callPackage ../development/tools/parse-cli-bin { };
|
||||
|
||||
patchelf = callPackage ../development/tools/misc/patchelf { };
|
||||
|
|
Loading…
Reference in a new issue