diff options
author | Yaroslav Bolyukin <iam@lach.pw> | 2021-06-19 10:44:19 +0300 |
---|---|---|
committer | Yaroslav Bolyukin <iam@lach.pw> | 2021-06-19 10:44:19 +0300 |
commit | be9ef6c5480ae622fa7c20a3049580cae32ee52b (patch) | |
tree | 7e13dca4a2a1f8b5fd8ab002bb0046d4fe9763d0 /pkgs/development/compilers/jrsonnet | |
parent | 8aa74b8fa00f4081a8c7140cc0b7316a1766c151 (diff) | |
download | nixpkgs-be9ef6c5480ae622fa7c20a3049580cae32ee52b.tar nixpkgs-be9ef6c5480ae622fa7c20a3049580cae32ee52b.tar.gz nixpkgs-be9ef6c5480ae622fa7c20a3049580cae32ee52b.tar.bz2 nixpkgs-be9ef6c5480ae622fa7c20a3049580cae32ee52b.tar.lz nixpkgs-be9ef6c5480ae622fa7c20a3049580cae32ee52b.tar.xz nixpkgs-be9ef6c5480ae622fa7c20a3049580cae32ee52b.tar.zst nixpkgs-be9ef6c5480ae622fa7c20a3049580cae32ee52b.zip |
jrsonnet: init at 0.3.8
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Diffstat (limited to 'pkgs/development/compilers/jrsonnet')
-rw-r--r-- | pkgs/development/compilers/jrsonnet/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/compilers/jrsonnet/default.nix b/pkgs/development/compilers/jrsonnet/default.nix new file mode 100644 index 00000000000..82e15db6685 --- /dev/null +++ b/pkgs/development/compilers/jrsonnet/default.nix @@ -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"; + }; +} |