2020-09-25 04:45:31 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, makeWrapper }:
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nix-build-uncached";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "1.1.2";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Mic92";
|
|
|
|
repo = "nix-build-uncached";
|
|
|
|
rev = "v${version}";
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-n9Koi01Te77bpYbRX46UThyD2FhCu9OGHd/6xDQLqjQ=";
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = null;
|
2020-05-29 06:06:01 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "CI friendly wrapper around nix-build";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "nix-build-uncached";
|
2020-05-29 06:06:01 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/Mic92/nix-build-uncached";
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|