forked from mirrors/nixpkgs
Merge pull request #87575 from colemickens/nbu
nix-build-uncached: init at 0.1.1
This commit is contained in:
commit
62e866e4fd
31
pkgs/development/tools/misc/nix-build-uncached/default.nix
Normal file
31
pkgs/development/tools/misc/nix-build-uncached/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, nix, makeWrapper }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nix-build-uncached";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mic92";
|
||||
repo = "nix-build-uncached";
|
||||
rev = "v${version}";
|
||||
sha256 = "0jkpg3ab56lg2kdms9w9ka9ba89py3ajksjsi1rd3iqi74zz2mmh";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/Mic92/nix-build-uncached";
|
||||
vendorSha256 = null;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/nix-build-uncached \
|
||||
--prefix PATH ":" ${lib.makeBinPath [ nix ]}
|
||||
'';
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -10676,6 +10676,8 @@ in
|
|||
pythonPackages = python3Packages;
|
||||
};
|
||||
|
||||
nix-build-uncached = callPackage ../development/tools/misc/nix-build-uncached { };
|
||||
|
||||
nexus = callPackage ../development/tools/repository-managers/nexus { };
|
||||
|
||||
nwjs = callPackage ../development/tools/nwjs {
|
||||
|
|
Loading…
Reference in a new issue