diff options
author | Derek Gonyeo <derek.gonyeo@coreos.com> | 2015-12-22 15:31:00 -0800 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2015-12-23 01:33:37 +0100 |
commit | 96716749593c0a240422fea27268680e5522246a (patch) | |
tree | 6d9cf35e7099183e8f4ba7562d6ac374e1d365c2 /pkgs/applications/misc/acbuild | |
parent | 540c520cf682622884057bdc26f6c5c0eb0da9a9 (diff) | |
download | nixpkgs-96716749593c0a240422fea27268680e5522246a.tar nixpkgs-96716749593c0a240422fea27268680e5522246a.tar.gz nixpkgs-96716749593c0a240422fea27268680e5522246a.tar.bz2 nixpkgs-96716749593c0a240422fea27268680e5522246a.tar.lz nixpkgs-96716749593c0a240422fea27268680e5522246a.tar.xz nixpkgs-96716749593c0a240422fea27268680e5522246a.tar.zst nixpkgs-96716749593c0a240422fea27268680e5522246a.zip |
acbuild: 0.1.1 -> 0.2.2 and moved to own default.nix, fixes #11889
Diffstat (limited to 'pkgs/applications/misc/acbuild')
-rw-r--r-- | pkgs/applications/misc/acbuild/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/misc/acbuild/default.nix b/pkgs/applications/misc/acbuild/default.nix new file mode 100644 index 00000000000..3c8f4f335f2 --- /dev/null +++ b/pkgs/applications/misc/acbuild/default.nix @@ -0,0 +1,37 @@ +{ stdenv, lib, go, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "acbuild-${version}"; + version = "0.2.2"; + + src = fetchFromGitHub { + owner = "appc"; + repo = "acbuild"; + rev = "v${version}"; + sha256 = "0sajmjg655irwy5fywk88cmwhc1q186dg5w8589pab2jhwpavdx4"; + }; + + buildInputs = [ go ]; + + patchPhase = '' + sed -i -e 's|\$(git describe --dirty)|"${version}"|' build + ''; + + buildPhase = '' + patchShebangs build + ./build + ''; + + installPhase = '' + mkdir -p $out + mv bin $out + ''; + + meta = with stdenv.lib; { + description = "A build tool for ACIs"; + homepage = https://github.com/appc/acbuild; + license = licenses.asl20; + maintainers = with maintainers; [ dgonyeo ]; + platforms = platforms.linux; + }; +} |