mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
acbuild: 0.2.2 -> 0.3.0 (#15711)
This commit is contained in:
parent
4962f52b88
commit
1115efe777
1 changed files with 3 additions and 3 deletions
|
@ -2,19 +2,19 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "acbuild-${version}";
|
||||
version = "0.2.2";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "appc";
|
||||
repo = "acbuild";
|
||||
rev = "v${version}";
|
||||
sha256 = "0sajmjg655irwy5fywk88cmwhc1q186dg5w8589pab2jhwpavdx4";
|
||||
sha256 = "19f2fybz4m7d5sp1v8zkl26ig4dacr27qan9h5lxyn2v7a5z34rc";
|
||||
};
|
||||
|
||||
buildInputs = [ go ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e 's|\$(git describe --dirty)|"${version}"|' build
|
||||
sed -i -e 's|\git describe --dirty|echo "${version}"|' build
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
|
|
Loading…
Reference in a new issue