2018-09-23 00:22:07 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "desync";
|
2018-12-27 22:39:07 +00:00
|
|
|
version = "0.4.0";
|
2018-09-23 00:22:07 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/folbricht/desync";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "folbricht";
|
|
|
|
repo = "desync";
|
2018-12-27 22:39:07 +00:00
|
|
|
sha256 = "17qh0g1paa7212j761q9z246k10a3xrwd8fgiizw3lr9adn50kdk";
|
2018-09-23 00:22:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Content-addressed binary distribution system";
|
|
|
|
longDescription = "An alternate implementation of the casync protocol and storage mechanism with a focus on production-readiness";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/folbricht/desync";
|
2018-09-23 00:22:07 +01:00
|
|
|
license = licenses.bsd3;
|
2018-12-27 22:39:07 +00:00
|
|
|
platforms = platforms.unix; # *may* work on Windows, but varies between releases.
|
2018-09-23 00:22:07 +01:00
|
|
|
maintainers = [ maintainers.chaduffy ];
|
|
|
|
};
|
|
|
|
}
|