nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 36 lines 815 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 glib, 7 dbus, 8 openssl_3, 9}: 10rustPlatform.buildRustPackage rec { 11 pname = "cwe-client-cli"; 12 version = "0.3.3"; 13 src = fetchFromGitHub { 14 owner = "NotBalds"; 15 repo = "cwe-client-cli"; 16 rev = "v${version}"; 17 hash = "sha256-3ehzERWV0/hV0Suy9LtCcp+xmaD13Chgu4a0gPT7cHs="; 18 }; 19 nativeBuildInputs = [ pkg-config ]; 20 buildInputs = [ 21 glib 22 dbus 23 openssl_3 24 ]; 25 26 cargoHash = "sha256-ml6anuAJru2zVIHNf/z4gdQjplRrXL4FO44cxfaDRns="; 27 28 meta = { 29 description = "Simple command line client for CWE"; 30 homepage = "https://github.com/NotBalds/cwe-client-cli"; 31 license = lib.licenses.gpl3Only; 32 maintainers = with lib.maintainers; [ tbwanderer ]; 33 mainProgram = "cwe-client-cli"; 34 platforms = lib.platforms.linux; 35 }; 36}