git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #127401 from CertainLach/jrsonnet
commit5a4dd196f0d090fb15cc9736b386cea6609b6090 authorSandro <sandro.jaeckel@gmail.com> dateSun 20 Jun 2021, 18:14 (5 years ago) parenta0abac9be9ef6c
3 files changed+38
maintainers/maintainer-list.nix+10 pkgs/development/compilers/jrsonnet/default.nix+26 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+10
@@ -5663,6 +5663,16 @@
56635663 githubId = 72546287;
56645664 name = "L3af";
56655665 };
5666+ lach = {
5667+ email = "iam@lach.pw";
5668+ github = "CertainLach";
5669+ githubId = 6235312;
5670+ keys = [{
5671+ longkeyid = "rsa3072/40B5D6948143175F";
5672+ fingerprint = "323C 95B5 DBF7 2D74 8570 C0B7 40B5 D694 8143 175F";
5673+ }];
5674+ name = "Yaroslav Bolyukin";
5675+ };
56665676 laikq = {
56675677 email = "gwen@quasebarth.de";
56685678 github = "laikq";
pkgs/development/compilers/jrsonnet/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, lib, fetchFromGitHub, rustPlatform }:
2+
3+rustPlatform.buildRustPackage rec {
4+ pname = "jrsonnet";
5+ version = "0.3.8";
6+
7+ src = fetchFromGitHub {
8+ rev = "v${version}";
9+ owner = "CertainLach";
10+ repo = "jrsonnet";
11+ sha256 = "sha256-u6P/j7j6S7iPQQh00YFtp2G9Kt4xdWJGsxbuBjvHHZ4=";
12+ };
13+
14+ postInstall = ''
15+ ln -s $out/bin/jrsonnet $out/bin/jsonnet
16+ '';
17+
18+ cargoSha256 = "sha256-KGQ3n3BBgLCT3ITIM8p9AxNa62ek4GHymqoD0eQSVKQ=";
19+
20+ meta = {
21+ description = "Purely-functional configuration language that helps you define JSON data";
22+ maintainers = with lib.maintainers; [ lach ];
23+ license = lib.licenses.mit;
24+ homepage = "https://github.com/CertainLach/jrsonnet";
25+ };
26+}
pkgs/top-level/all-packages.nix+2
@@ -15773,6 +15773,8 @@ in
1577315773
1577415774 jsonnet-bundler = callPackage ../development/tools/jsonnet-bundler { };
1577515775
15776+ jrsonnet = callPackage ../development/compilers/jrsonnet { };
15777+
1577615778 go-jsonnet = callPackage ../development/compilers/go-jsonnet { };
1577715779
1577815780 jsonrpc-glib = callPackage ../development/libraries/jsonrpc-glib { };