nixpkgs/pkgs/servers/misc/virtiofsd/default.nix

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

26 lines
728 B
Nix
Raw Normal View History

2022-01-20 01:48:44 +01:00
{ lib, rustPlatform, fetchFromGitLab, libcap_ng, libseccomp }:
rustPlatform.buildRustPackage rec {
pname = "virtiofsd";
2022-03-07 23:38:41 +01:00
version = "1.1.0";
2022-01-20 01:48:44 +01:00
src = fetchFromGitLab {
owner = "virtio-fs";
repo = "virtiofsd";
rev = "v${version}";
2022-03-07 23:38:41 +01:00
sha256 = "sha256-WB0zu2M/5enBOoOUUSXnNAkbsA+JzDgtoLncE1YcDLs=";
2022-01-20 01:48:44 +01:00
};
2022-03-07 23:38:41 +01:00
cargoSha256 = "sha256-uRPmZE/xc0yeurBZ4rnrZua5d4lbPwStMUacFgbquuk=";
2022-01-20 01:48:44 +01:00
buildInputs = [ libcap_ng libseccomp ];
meta = with lib; {
homepage = "https://gitlab.com/virtio-fs/virtiofsd";
description = "vhost-user virtio-fs device backend written in Rust";
maintainers = with maintainers; [ qyliss ];
platforms = platforms.linux;
license = with licenses; [ asl20 /* and */ bsd3 ];
};
}