Skip to content

Instantly share code, notes, and snippets.

@ConradMearns
Last active June 13, 2020 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ConradMearns/f70ee7624ecd06f6184672d1a8d28aad to your computer and use it in GitHub Desktop.
Save ConradMearns/f70ee7624ecd06f6184672d1a8d28aad to your computer and use it in GitHub Desktop.
# 1.65 -> 1.81 https://www.reddit.com/r/NixOS/comments/flwrlh/seaweedfs/
# thanks u/kvtb
with import <nixpkgs> {};
buildGoModule rec {
pname = "seaweedfs";
version = "1.81";
src = fetchFromGitHub {
owner = "chrislusf";
repo = "seaweedfs";
rev = "${version}";
sha256 = "1784wgpnk6wld8fj202sy3h2nirjkm6q3xzd8n8d0ivzvaw02m87";
};
modSha256 = "11m995yn719l6vnr7w1cciqwsmw9ynhally9js737fyfgnqkw3l2";
subPackages = ["weed"];
meta = with lib; {
description = "Simple and highly scalable distributed file system";
homepage = https://github.com/chrislusf/seaweedfs;
license = licenses.asl20;
# maintainers = with maintainers; [ your-name-here ];
platforms = platforms.linux ++ platforms.darwin;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment