jrsonnet: init at 0.3.8

Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
This commit is contained in:
Yaroslav Bolyukin 2021-06-19 10:44:19 +03:00
parent 8aa74b8fa0
commit be9ef6c548
No known key found for this signature in database
GPG key ID: 40B5D6948143175F
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "jrsonnet";
version = "0.3.8";
src = fetchFromGitHub {
rev = "v${version}";
owner = "CertainLach";
repo = "jrsonnet";
sha256 = "sha256-u6P/j7j6S7iPQQh00YFtp2G9Kt4xdWJGsxbuBjvHHZ4=";
};
postInstall = ''
ln -s $out/bin/jrsonnet $out/bin/jsonnet
'';
cargoSha256 = "sha256-KGQ3n3BBgLCT3ITIM8p9AxNa62ek4GHymqoD0eQSVKQ=";
meta = {
description = "Purely-functional configuration language that helps you define JSON data";
maintainers = with lib.maintainers; [ lach ];
license = lib.licenses.mit;
homepage = "https://github.com/CertainLach/jrsonnet";
};
}

View file

@ -15766,6 +15766,8 @@ in
jsonnet-bundler = callPackage ../development/tools/jsonnet-bundler { };
jrsonnet = callPackage ../development/compilers/jrsonnet { };
go-jsonnet = callPackage ../development/compilers/go-jsonnet { };
jsonrpc-glib = callPackage ../development/libraries/jsonrpc-glib { };