pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / cw / cwe-client-cli / package.nix
blobc7ec89733fa8f271d872afd9f5352610690c7cbe
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   pkg-config,
6   glib,
7   dbus,
8   openssl_3,
9 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "cwe-client-cli";
12   version = "0.3.2";
13   src = fetchFromGitHub {
14     owner = "NotBalds";
15     repo = "cwe-client-cli";
16     rev = "v${version}";
17     hash = "sha256-7zzmYwuQ+Sg8hf1zuKtKUMgk0Is1YJB4WdOKdxtWRA0=";
18   };
19   nativeBuildInputs = [ pkg-config ];
20   buildInputs = [
21     glib
22     dbus
23     openssl_3
24   ];
25   cargoHash = "sha256-VgbNwqDVcORWJB5QjH39gZZtW1n2Me9FxVUhb4vIg1A=";
27   meta = {
28     description = "Simple command line client for CWE";
29     homepage = "https://github.com/NotBalds/cwe-client-cli";
30     license = lib.licenses.gpl3Only;
31     maintainers = with lib.maintainers; [ tbwanderer ];
32     mainProgram = "cwe-client-cli";
33     platforms = lib.platforms.linux;
34   };