git.iko.soy/typeable/nixpkgs
on master help sign in
parinfer-rust: init at 0.3.1
commit037c15654a08061f15b25a48db493534b2779099 authorJason Felice <jason.m.felice@gmail.com> dateSun 5 May 2019, 11:34 (8 years ago) parent3fcd66c
3 files changed+35
maintainers/maintainer-list.nix+5 pkgs/development/tools/parinfer-rust/default.nix+28 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -1536,6 +1536,11 @@
15361536 github = "eqyiel";
15371537 name = "Ruben Maher";
15381538 };
1539+ eraserhd = {
1540+ email = "jason.m.felice@gmail.com";
1541+ github = "eraserhd";
1542+ name = "Jason Felice";
1543+ };
15391544 ericbmerritt = {
15401545 email = "eric@afiniate.com";
15411546 github = "ericbmerritt";
pkgs/development/tools/parinfer-rust/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ stdenv, rustPlatform, fetchFromGitHub }:
2+
3+rustPlatform.buildRustPackage rec {
4+ name = "parinfer-rust-${version}";
5+ version = "0.3.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "eraserhd";
9+ repo = "parinfer-rust";
10+ rev = "v${version}";
11+ sha256 = "0w7fcg33k8k16q8wzax44ck8csa2dr7bmwcz1g57dz33vhxi8ajc";
12+ };
13+
14+ cargoSha256 = "17fkzpvfaxixllr9nxx7dnpqxkiighggryxf30j3lafghyrx987f";
15+
16+ postInstall = ''
17+ mkdir -p $out/share/kak/autoload/plugins
18+ cp rc/parinfer.kak $out/share/kak/autoload/plugins/
19+ '';
20+
21+ meta = with stdenv.lib; {
22+ description = "Infer parentheses for Clojure, Lisp, and Scheme.";
23+ homepage = "https://github.com/eraserhd/parinfer-rust";
24+ license = licenses.isc;
25+ maintainers = with maintainers; [ eraserhd ];
26+ platforms = platforms.all;
27+ };
28+}
pkgs/top-level/all-packages.nix+2
@@ -9347,6 +9347,8 @@ in
93479347
93489348 pants = callPackage ../development/tools/build-managers/pants {};
93499349
9350+ parinfer-rust = callPackage ../development/tools/parinfer-rust {};
9351+
93509352 parse-cli-bin = callPackage ../development/tools/parse-cli-bin { };
93519353
93529354 patchelf = callPackage ../development/tools/misc/patchelf { };