2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-27 16:15:05 +00:00
nixpkgs/pkgs/servers/matrix-conduit/default.nix

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

35 lines
798 B
Nix
Raw Normal View History

2022-02-04 20:04:21 +00:00
{ stdenv, lib, fetchFromGitLab, rustPlatform, pkgs }:
2021-09-02 09:23:48 +00:00
rustPlatform.buildRustPackage rec {
pname = "matrix-conduit";
version = "0.4.0";
2021-09-02 09:23:48 +00:00
src = fetchFromGitLab {
owner = "famedly";
repo = "conduit";
rev = "v${version}";
sha256 = "sha256-QTXDIvGz12ZxsWmPiMiJ8mBUWoJ2wnaeTZdXcwBh35o=";
2021-09-02 09:23:48 +00:00
};
cargoSha256 = "sha256-vE44I8lQ5VAfZB4WKLRv/xudoZJaFJGTT/UuumTePBU=";
2022-02-04 20:04:21 +00:00
nativeBuildInputs = with pkgs; [
rustPlatform.bindgenHook
pkg-config
2022-02-04 20:04:21 +00:00
];
buildInputs = with pkgs; [
rocksdb
];
cargoBuildFlags = "--bin conduit";
2021-09-02 09:23:48 +00:00
meta = with lib; {
broken = stdenv.isDarwin;
2021-09-02 09:23:48 +00:00
description = "A Matrix homeserver written in Rust";
homepage = "https://conduit.rs/";
license = licenses.asl20;
maintainers = with maintainers; [ pstn piegames pimeys ];
2021-09-02 09:23:48 +00:00
};
}