nixpkgs/pkgs/development/tools/misc/nix-build-uncached/default.nix

28 lines
644 B
Nix
Raw Normal View History

{ 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;
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;
};
}