Loading pkgs/development/tools/gptcommit/default.nix 0 → 100644 +43 −0 Original line number Diff line number Diff line { stdenv , lib , fetchFromGitHub , rustPlatform , pkg-config , nix-update-script , Security , openssl }: let pname = "gptcommit"; version = "0.1.15"; in rustPlatform.buildRustPackage { inherit pname version; src = fetchFromGitHub { owner = "zurawiki"; repo = pname; rev = "v${version}"; sha256 = "sha256-ykcKvJJg+K2mDiz7hDYzoL1CYI1zOidlqz4xLUY1NW0="; }; cargoSha256 = "sha256-/BASGNwfdAHLKdceRQe4GNfLy6uanHwH0yohGO7V60Q="; nativeBuildInputs = [ pkg-config ]; buildInputs = lib.optionals stdenv.isDarwin [ Security ] ++ lib.optionals stdenv.isLinux [ openssl ]; passthru = { updateScript = nix-update-script { }; }; meta = with lib; { description = "A git prepare-commit-msg hook for authoring commit messages with GPT-3. "; homepage = "https://github.com/zurawiki/gptcommit"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ happysalada ]; platforms = with platforms; all; }; } pkgs/top-level/all-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -7876,6 +7876,10 @@ with pkgs; gpt2tc = callPackage ../tools/text/gpt2tc { }; gptcommit = callPackage ../development/tools/gptcommit { inherit (darwin.apple_sdk.frameworks) Security; }; gptman = callPackage ../tools/system/gptman { }; ldmtool = callPackage ../tools/misc/ldmtool { }; Loading
pkgs/development/tools/gptcommit/default.nix 0 → 100644 +43 −0 Original line number Diff line number Diff line { stdenv , lib , fetchFromGitHub , rustPlatform , pkg-config , nix-update-script , Security , openssl }: let pname = "gptcommit"; version = "0.1.15"; in rustPlatform.buildRustPackage { inherit pname version; src = fetchFromGitHub { owner = "zurawiki"; repo = pname; rev = "v${version}"; sha256 = "sha256-ykcKvJJg+K2mDiz7hDYzoL1CYI1zOidlqz4xLUY1NW0="; }; cargoSha256 = "sha256-/BASGNwfdAHLKdceRQe4GNfLy6uanHwH0yohGO7V60Q="; nativeBuildInputs = [ pkg-config ]; buildInputs = lib.optionals stdenv.isDarwin [ Security ] ++ lib.optionals stdenv.isLinux [ openssl ]; passthru = { updateScript = nix-update-script { }; }; meta = with lib; { description = "A git prepare-commit-msg hook for authoring commit messages with GPT-3. "; homepage = "https://github.com/zurawiki/gptcommit"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ happysalada ]; platforms = with platforms; all; }; }
pkgs/top-level/all-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -7876,6 +7876,10 @@ with pkgs; gpt2tc = callPackage ../tools/text/gpt2tc { }; gptcommit = callPackage ../development/tools/gptcommit { inherit (darwin.apple_sdk.frameworks) Security; }; gptman = callPackage ../tools/system/gptman { }; ldmtool = callPackage ../tools/misc/ldmtool { };