evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / sy / syndicate-server / package.nix
blobefca2c5ca5ddd31b313cf993e9c9e4a83778af5d
2   lib,
3   rustPlatform,
4   fetchFromGitea,
5   pkg-config,
6   openssl,
7   versionCheckHook,
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "syndicate-server";
12   version = "0.48.0";
13   src = fetchFromGitea {
14     domain = "git.syndicate-lang.org";
15     owner = "syndicate-lang";
16     repo = "syndicate-rs";
17     rev = "${pname}-v${version}";
18     hash = "sha256-DVgFlJCqaTmQ7eL2LQ8rkIbvaEfwx+NDeXRA8qB+/Qo=";
19   };
20   cargoHash = "sha256-eSzRKTUDkx0i2z5y5rm1A799CfLPqd+txpmbolqe+PQ=";
21   nativeBuildInputs = [
22     pkg-config
23     versionCheckHook
24   ];
25   buildInputs = [ openssl ];
27   RUSTC_BOOTSTRAP = 1;
29   doInstallCheck = true;
31   meta = {
32     description = "Syndicate broker server";
33     homepage = "http://synit.org/";
34     license = lib.licenses.asl20;
35     mainProgram = "syndicate-server";
36     maintainers = with lib.maintainers; [ ehmry ];
37     platforms = lib.platforms.linux;
38   };