mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 13:43:50 +00:00
![stuebinm](/assets/img/avatar_default.png)
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
32 lines
950 B
Nix
32 lines
950 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "desync";
|
|
version = "0.9.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "folbricht";
|
|
repo = "desync";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-FeZhLY0fUUNNqa6qZZnh2z06+NgcAI6gY8LRR4xI5sM=";
|
|
};
|
|
|
|
vendorHash = "sha256-1RuqlDU809mtGn0gOFH/AW6HJo1cQqt8spiLp3/FpcI=";
|
|
|
|
# nix builder doesn't have access to test data; tests fail for reasons unrelated to binary being bad.
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Content-addressed binary distribution system";
|
|
mainProgram = "desync";
|
|
longDescription = "An alternate implementation of the casync protocol and storage mechanism with a focus on production-readiness";
|
|
homepage = "https://github.com/folbricht/desync";
|
|
changelog = "https://github.com/folbricht/desync/releases/tag/v${version}";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ chaduffy ];
|
|
};
|
|
}
|