lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.09-beta 32 lines 761 B view raw
1{ lib, buildGoPackage, fetchFromGitHub }: 2 3buildGoPackage rec { 4 name = "restic-rest-server-${version}"; 5 version = "0.9.7"; 6 7 goPackagePath = "github.com/restic/rest-server"; 8 9 src = fetchFromGitHub { 10 owner = "restic"; 11 repo = "rest-server"; 12 rev = "v${version}"; 13 sha256 = "1g47ly1pxwn0znbj3v5j6kqhn66d4wf0d5gjqzig75pzknapv8qj"; 14 }; 15 16 buildPhase = '' 17 cd go/src/${goPackagePath} 18 go run build.go 19 ''; 20 21 installPhase = '' 22 install -Dt $bin/bin rest-server 23 ''; 24 25 meta = with lib; { 26 inherit (src.meta) homepage; 27 description = "A high performance HTTP server that implements restic's REST backend API"; 28 platforms = platforms.unix; 29 license = licenses.bsd2; 30 maintainers = with maintainers; [ dotlambda ]; 31 }; 32}