git.iko.soy/typeable/nixpkgs
on master help sign in
jrsonnet: init at 0.3.8

Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>

commitbe9ef6c5480ae622fa7c20a3049580cae32ee52b authorYaroslav Bolyukin <iam@lach.pw> dateSat 19 Jun 2021, 10:44 (5 years ago) parent8aa74b8
2 files changed+28
pkgs/development/compilers/jrsonnet/default.nix+26 pkgs/top-level/all-packages.nix+2
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
@@ -15766,6 +15766,8 @@ in
1576615766
1576715767 jsonnet-bundler = callPackage ../development/tools/jsonnet-bundler { };
1576815768
15769+ jrsonnet = callPackage ../development/compilers/jrsonnet { };
15770+
1576915771 go-jsonnet = callPackage ../development/compilers/go-jsonnet { };
1577015772
1577115773 jsonrpc-glib = callPackage ../development/libraries/jsonrpc-glib { };