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";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "1.0.0";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Mic92";
|
|
|
|
repo = "nix-build-uncached";
|
|
|
|
rev = "v${version}";
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "106k4234gpi8mr0n0rfsgwk4z7v0b2gim0r5bhjvg2v566j67g02";
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A CI friendly wrapper around nix-build";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/Mic92/nix-build-uncached";
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|