diff options
author | TBWanderer | 2024-08-07 10:57:09 +0300 |
---|---|---|
committer | TBWanderer | 2024-09-01 21:21:59 +0300 |
commit | f242ac49c810a5cd408f1008ef75eabe5ae59923 (patch) | |
tree | fa5781be6e45f2085d0cb3bf70d5b7d080949cb4 /pkgs/by-name/cw | |
parent | 345030401cf8ae6c3ab181eeddfdd44aca66685a (diff) |
cwe-client-cli: init at 0.3.2
Diffstat (limited to 'pkgs/by-name/cw')
-rw-r--r-- | pkgs/by-name/cw/cwe-client-cli/package.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/cw/cwe-client-cli/package.nix b/pkgs/by-name/cw/cwe-client-cli/package.nix new file mode 100644 index 000000000000..c7ec89733fa8 --- /dev/null +++ b/pkgs/by-name/cw/cwe-client-cli/package.nix @@ -0,0 +1,35 @@ +{ + 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; + }; +} |