summary refs log tree commit diff
path: root/pkgs/applications/misc/perkeep
diff options
context:
space:
mode:
authorYurii Rashkovskii <yrashk@gmail.com>2017-12-15 04:18:33 +0000
committerYurii Rashkovskii <yrashk@gmail.com>2017-12-15 04:24:18 +0000
commit13b30b26ad13f94a32cc6124ff93553382c0b86f (patch)
tree9e4e02b4d7fd5344c257557679a2a5cdbb24b218 /pkgs/applications/misc/perkeep
parent7c19c219bd080627ffb7f91c2e5246bebe779295 (diff)
downloadnixpkgs-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar
nixpkgs-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar.gz
nixpkgs-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar.bz2
nixpkgs-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar.lz
nixpkgs-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar.xz
nixpkgs-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar.zst
nixpkgs-13b30b26ad13f94a32cc6124ff93553382c0b86f.zip
camlistore: 0.9 -> perkeep 20170505
camlistore has been renamed to perkeep
Diffstat (limited to 'pkgs/applications/misc/perkeep')
-rw-r--r--pkgs/applications/misc/perkeep/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/misc/perkeep/default.nix b/pkgs/applications/misc/perkeep/default.nix
new file mode 100644
index 00000000000..3b64cf4aa6c
--- /dev/null
+++ b/pkgs/applications/misc/perkeep/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, lib, go_1_8, fetchzip, git }:
+
+stdenv.mkDerivation rec {
+  name = "perkeep-${version}";
+  version = "20170505";
+
+  src = fetchzip {
+    url = "https://perkeep.org/dl/monthly/camlistore-${version}-src.zip";
+    sha256 = "1vliyvkyzmhdi6knbh8rdsswmz3h0rpxdpq037jwbdbkjccxjdwa";
+  };
+
+  buildInputs = [ git go_1_8 ];
+
+  goPackagePath = "";
+  buildPhase = ''
+    go run make.go
+  '';
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp bin/* $out/bin
+  '';
+
+  meta = with stdenv.lib; {
+    description = "A way of storing, syncing, sharing, modelling and backing up content (née Camlistore)";
+    homepage = https://perkeep.org;
+    license = licenses.asl20;
+    maintainers = with maintainers; [ cstrahan ];
+    platforms = platforms.unix;
+  };
+}