Merge pull request #206601 from figsoda/jrsonnet
jrsonnet: unbreak on darwin, add figsoda as a maintainer
This commit is contained in:
commit
b9fb28415d
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, rustPlatform, installShellFiles }:
|
{ lib, rustPlatform, fetchFromGitHub, installShellFiles }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "jrsonnet";
|
pname = "jrsonnet";
|
||||||
|
@ -11,8 +11,15 @@ rustPlatform.buildRustPackage rec {
|
||||||
sha256 = "sha256-OX+iJJ3vdCsWWr8x31psV9Vne6xWDZnJc83NbJqMK1A=";
|
sha256 = "sha256-OX+iJJ3vdCsWWr8x31psV9Vne6xWDZnJc83NbJqMK1A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-eFfAU9Q3nYAJK+kKP1Y6ONjOIfkuYTlelrFrEW9IJ8c=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
# skip flaky tests
|
||||||
|
checkFlags = [
|
||||||
|
"--skip=tests::native_ext"
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
ln -s $out/bin/jrsonnet $out/bin/jsonnet
|
ln -s $out/bin/jrsonnet $out/bin/jsonnet
|
||||||
|
|
||||||
|
@ -24,13 +31,10 @@ rustPlatform.buildRustPackage rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cargoSha256 = "sha256-eFfAU9Q3nYAJK+kKP1Y6ONjOIfkuYTlelrFrEW9IJ8c=";
|
meta = with lib; {
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Purely-functional configuration language that helps you define JSON data";
|
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";
|
homepage = "https://github.com/CertainLach/jrsonnet";
|
||||||
broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/jrsonnet.x86_64-darwin
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ figsoda lach ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue