mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
Merge pull request #32697 from yrashk/camlistore-perkeep
camlistore: 0.9 -> perkeep 20170505
This commit is contained in:
commit
13d80cbab4
@ -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;
|
||||
};
|
||||
}
|
31
pkgs/applications/misc/perkeep/default.nix
Normal file
31
pkgs/applications/misc/perkeep/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -14122,7 +14122,7 @@ with pkgs;
|
||||
openjpeg = openjpeg_1;
|
||||
};
|
||||
|
||||
camlistore = callPackage ../applications/misc/camlistore { };
|
||||
perkeep = callPackage ../applications/misc/perkeep { };
|
||||
|
||||
canto-curses = callPackage ../applications/networking/feedreaders/canto-curses { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user