From 6f829d2cd92e800ed5f29e8d3f49321dd6b6deee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Str=C3=B6ger?= Date: Tue, 27 Oct 2020 21:05:16 +0100 Subject: [PATCH 1/2] maintainers: add preisschild --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index c0b1ae06abe5..a11fb4f577f0 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6889,6 +6889,12 @@ fingerprint = "240B 57DE 4271 2480 7CE3 EAC8 4F74 D536 1C4C A31E"; }]; }; + preisschild = { + email = "florian@florianstroeger.com"; + github = "Preisschild"; + githubId = 11898437; + name = "Florian Ströger"; + }; priegger = { email = "philipp@riegger.name"; github = "priegger"; From 09edea6af9004da2ecb2a65c40faea4304450728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Str=C3=B6ger?= Date: Tue, 27 Oct 2020 19:56:13 +0100 Subject: [PATCH 2/2] jsonnet-bundler: init at 0.4.0 --- .../tools/jsonnet-bundler/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/tools/jsonnet-bundler/default.nix diff --git a/pkgs/development/tools/jsonnet-bundler/default.nix b/pkgs/development/tools/jsonnet-bundler/default.nix new file mode 100644 index 000000000000..4286a454ff02 --- /dev/null +++ b/pkgs/development/tools/jsonnet-bundler/default.nix @@ -0,0 +1,26 @@ +{ buildGoModule, fetchFromGitHub, lib }: + +buildGoModule rec { + pname = "jsonnet-bundler"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "jsonnet-bundler"; + repo = "jsonnet-bundler"; + rev = "v${version}"; + sha256 = "0pk6nf8r0wy7lnsnzyjd3vgq4b2kb3zl0xxn01ahpaqgmwpzajlk"; + }; + + vendorSha256 = null; + + subPackages = [ "cmd/jb" ]; + + buildFlagsArray = [ "-ldflags=-s -w -X main.Version=${version}" ]; + + meta = with lib; { + description = "A jsonnet package manager"; + homepage = "https://github.com/jsonnet-bundler/jsonnet-bundler"; + license = licenses.asl20; + maintainers = with maintainers; [ preisschild ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1a81c1fcf146..fe314664b353 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13221,6 +13221,8 @@ in jsonnet = callPackage ../development/compilers/jsonnet { }; + jsonnet-bundler = callPackage ../development/tools/jsonnet-bundler { }; + go-jsonnet = callPackage ../development/compilers/go-jsonnet { }; jsonrpc-glib = callPackage ../development/libraries/jsonrpc-glib { };