1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/misc/camlistore/default.nix

36 lines
816 B
Nix
Raw Normal View History

{ stdenv, lib, go, fetchgit, git, buildGoPackage }:
2014-06-23 11:26:56 +01:00
buildGoPackage rec {
2014-06-23 11:26:56 +01:00
name = "camlistore-${version}";
version = "0.9";
2014-06-23 11:26:56 +01:00
2016-06-07 20:01:41 +01:00
src = fetchgit {
url = "https://github.com/camlistore/camlistore";
rev = "refs/tags/${version}";
sha256 = "1ypplr939ny9drsdngapa029fgak0wic8sbna588m79cbl17psya";
2016-06-07 20:01:41 +01:00
leaveDotGit = true;
2014-06-23 11:26:56 +01:00
};
buildInputs = [ git ];
2014-06-23 11:26:56 +01:00
goPackagePath = "";
2014-06-23 11:26:56 +01:00
buildPhase = ''
cd go/src/camlistore
2014-06-23 11:26:56 +01:00
go run make.go
'';
installPhase = ''
mkdir -p $bin/bin
rm bin/README
cp bin/* $bin/bin
2014-06-23 11:26:56 +01:00
'';
meta = with stdenv.lib; {
description = "A way of storing, syncing, sharing, modelling and backing up content";
2014-06-23 11:26:56 +01:00
homepage = https://camlistore.org;
license = licenses.asl20;
maintainers = with maintainers; [ cstrahan ];
platforms = platforms.unix;
};
}