1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/applications/misc/camlistore/default.nix

32 lines
718 B
Nix
Raw Normal View History

2014-06-23 11:26:56 +01:00
{ stdenv, lib, go, fetchurl }:
stdenv.mkDerivation rec {
2014-09-16 05:22:55 +01:00
version = "0.8";
2014-06-23 11:26:56 +01:00
name = "camlistore-${version}";
src = fetchurl {
2014-09-16 05:22:55 +01:00
url = "https://github.com/bradfitz/camlistore/archive/${version}.tar.gz";
sha256 = "03y5zs4i9lx93apqqqfgmbxamk06z3w1q763qp0lvb15mq45gdv1";
2014-06-23 11:26:56 +01:00
};
buildInputs = [ go ];
buildPhase = ''
go run make.go
rm bin/README
'';
installPhase = ''
2014-07-22 10:01:32 +01:00
mkdir -p $out/bin
2014-06-23 11:26:56 +01:00
cp bin/* $out/bin
'';
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;
};
}