mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
36 lines
814 B
Nix
36 lines
814 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
glib,
|
|
dbus,
|
|
openssl_3,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cwe-client-cli";
|
|
version = "0.3.2";
|
|
src = fetchFromGitHub {
|
|
owner = "NotBalds";
|
|
repo = "cwe-client-cli";
|
|
rev = "v${version}";
|
|
hash = "sha256-7zzmYwuQ+Sg8hf1zuKtKUMgk0Is1YJB4WdOKdxtWRA0=";
|
|
};
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
glib
|
|
dbus
|
|
openssl_3
|
|
];
|
|
cargoHash = "sha256-VgbNwqDVcORWJB5QjH39gZZtW1n2Me9FxVUhb4vIg1A=";
|
|
|
|
meta = {
|
|
description = "Simple command line client for CWE";
|
|
homepage = "https://github.com/NotBalds/cwe-client-cli";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ tbwanderer ];
|
|
mainProgram = "cwe-client-cli";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|