2020-08-26 20:57:28 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, makeWrapper }:
|
2020-05-11 04:35:07 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nix-build-uncached";
|
2020-11-11 17:54:09 +00:00
|
|
|
version = "1.1.0";
|
2020-05-11 04:35:07 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Mic92";
|
|
|
|
repo = "nix-build-uncached";
|
|
|
|
rev = "v${version}";
|
2020-11-11 17:54:09 +00:00
|
|
|
sha256 = "1v9xyv0hhvfw61k4pbgzrlgy7igl619cangi40fkh7gdvs01dxz4";
|
2020-05-11 04:35:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-05-11 04:35:07 +01: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;
|
|
|
|
};
|
|
|
|
}
|