forked from mirrors/nixpkgs
go-jsonnet: add jsonnet-deps and jsonnet-lint
This commit is contained in:
parent
77d8adb8b9
commit
26c53e85d7
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, testVersion }:
|
||||
|
||||
buildGoModule rec {
|
||||
let self = buildGoModule rec {
|
||||
pname = "go-jsonnet";
|
||||
version = "0.18.0";
|
||||
|
||||
|
@ -15,12 +15,19 @@ buildGoModule rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
subPackages = [ "cmd/jsonnet" "cmd/jsonnetfmt" ];
|
||||
subPackages = [ "cmd/jsonnet*" ];
|
||||
|
||||
passthru.tests.version = testVersion {
|
||||
package = self;
|
||||
version = "v${version}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "An implementation of Jsonnet in pure Go";
|
||||
homepage = "https://github.com/google/go-jsonnet";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ nshalman ];
|
||||
maintainers = with maintainers; [ nshalman aaronjheng ];
|
||||
mainProgram = "jsonnet";
|
||||
};
|
||||
}
|
||||
};
|
||||
in self
|
||||
|
|
Loading…
Reference in a new issue