diff options
author | Yurii Rashkovskii <yrashk@gmail.com> | 2017-12-15 04:18:33 +0000 |
---|---|---|
committer | Yurii Rashkovskii <yrashk@gmail.com> | 2017-12-15 04:24:18 +0000 |
commit | 13b30b26ad13f94a32cc6124ff93553382c0b86f (patch) | |
tree | 9e4e02b4d7fd5344c257557679a2a5cdbb24b218 /pkgs/applications/misc | |
parent | 7c19c219bd080627ffb7f91c2e5246bebe779295 (diff) | |
download | nixlib-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar nixlib-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar.gz nixlib-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar.bz2 nixlib-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar.lz nixlib-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar.xz nixlib-13b30b26ad13f94a32cc6124ff93553382c0b86f.tar.zst nixlib-13b30b26ad13f94a32cc6124ff93553382c0b86f.zip |
camlistore: 0.9 -> perkeep 20170505
camlistore has been renamed to perkeep
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/camlistore/default.nix | 35 | ||||
-rw-r--r-- | pkgs/applications/misc/perkeep/default.nix | 31 |
2 files changed, 31 insertions, 35 deletions
diff --git a/pkgs/applications/misc/camlistore/default.nix b/pkgs/applications/misc/camlistore/default.nix deleted file mode 100644 index d90e8a6dba66..000000000000 --- a/pkgs/applications/misc/camlistore/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ stdenv, lib, go, fetchgit, git, buildGoPackage }: - -buildGoPackage rec { - name = "camlistore-${version}"; - version = "0.9"; - - src = fetchgit { - url = "https://github.com/camlistore/camlistore"; - rev = "refs/tags/${version}"; - sha256 = "1ypplr939ny9drsdngapa029fgak0wic8sbna588m79cbl17psya"; - leaveDotGit = true; - }; - - buildInputs = [ git ]; - - goPackagePath = ""; - buildPhase = '' - cd go/src/camlistore - go run make.go - ''; - - installPhase = '' - mkdir -p $bin/bin - rm bin/README - cp bin/* $bin/bin - ''; - - meta = with stdenv.lib; { - description = "A way of storing, syncing, sharing, modelling and backing up content"; - homepage = https://camlistore.org; - license = licenses.asl20; - maintainers = with maintainers; [ cstrahan ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/applications/misc/perkeep/default.nix b/pkgs/applications/misc/perkeep/default.nix new file mode 100644 index 000000000000..3b64cf4aa6c0 --- /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; + }; +} |