nixpkgs/pkgs/applications/networking/seaweedfs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
766 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, buildGoModule
, testers
, seaweedfs
}:
2020-11-05 16:48:09 +01:00
buildGoModule rec {
pname = "seaweedfs";
2022-07-14 18:51:09 +02:00
version = "3.15";
2020-11-05 16:48:09 +01:00
src = fetchFromGitHub {
owner = "chrislusf";
repo = "seaweedfs";
rev = version;
2022-07-14 18:51:09 +02:00
sha256 = "sha256-07cIqGKmw2Co7GEc/APiOWTgflUwDIQPQzs73XTAPQA=";
2020-11-05 16:48:09 +01:00
};
2022-07-14 18:51:09 +02:00
vendorSha256 = "sha256-4U96s9PJLuVuzgWXCMLKfXK/XK1EaC+ep2c8TpKVRlc=";
2020-11-05 16:48:09 +01:00
subPackages = [ "weed" ];
passthru.tests.version =
testers.testVersion { package = seaweedfs; command = "weed version"; };
2020-11-05 16:48:09 +01:00
meta = with lib; {
description = "Simple and highly scalable distributed file system";
homepage = "https://github.com/chrislusf/seaweedfs";
maintainers = with maintainers; [ cmacrae ];
mainProgram = "weed";
2020-11-05 16:48:09 +01:00
license = licenses.asl20;
};
}