please-cli: init at version 0.3.0

+53
+6
maintainers/maintainer-list.nix
··· 177 githubId = 12578560; 178 name = "Quinn Bohner"; 179 }; 180 _9999years = { 181 email = "rbt@fastmail.com"; 182 github = "9999years";
··· 177 githubId = 12578560; 178 name = "Quinn Bohner"; 179 }; 180 + _8-bit-fox = { 181 + email = "sebastian@markwaerter.de"; 182 + github = "8-bit-fox"; 183 + githubId = 43320117; 184 + name = "Sebastian Marquardt"; 185 + }; 186 _9999years = { 187 email = "rbt@fastmail.com"; 188 github = "9999years";
+45
pkgs/applications/misc/please-cli/default.nix
···
··· 1 + { lib 2 + , curl 3 + , fetchFromGitHub 4 + , jq 5 + , makeBinaryWrapper 6 + , please-cli 7 + , stdenv 8 + , testers 9 + }: 10 + 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "please-cli"; 13 + version = "0.3.0"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "TNG"; 17 + repo = "please-cli"; 18 + rev = "v${finalAttrs.version}"; 19 + hash = "sha256-rJIR4eMhXL4K9iO7JxnkgWNsICV3hPQb0aobWNuHAG0="; 20 + }; 21 + 22 + nativeBuildInputs = [ makeBinaryWrapper ]; 23 + 24 + installPhase = '' 25 + runHook preInstall 26 + install -Dm555 please.sh "$out/bin/please" 27 + wrapProgram $out/bin/please \ 28 + --prefix PATH : ${lib.makeBinPath [ curl jq ]} 29 + runHook postInstall 30 + ''; 31 + 32 + passthru.tests = testers.testVersion { 33 + package = please-cli; 34 + version = "v${finalAttrs.version}"; 35 + }; 36 + 37 + meta = with lib; { 38 + description = "An AI helper script to create CLI commands based on GPT prompts"; 39 + homepage = "https://github.com/TNG/please-cli"; 40 + license = licenses.asl20; 41 + maintainers = with maintainers; [ _8-bit-fox ]; 42 + mainProgram = "please"; 43 + platforms = platforms.all; 44 + }; 45 + })
+2
pkgs/top-level/all-packages.nix
··· 31426 31427 pixinsight = libsForQt5.callPackage ../applications/graphics/pixinsight { }; 31428 31429 protonup-qt = python3Packages.callPackage ../applications/misc/protonup-qt { }; 31430 31431 pmbootstrap = python3Packages.callPackage ../tools/misc/pmbootstrap { };
··· 31426 31427 pixinsight = libsForQt5.callPackage ../applications/graphics/pixinsight { }; 31428 31429 + please-cli = callPackage ../applications/misc/please-cli { }; 31430 + 31431 protonup-qt = python3Packages.callPackage ../applications/misc/protonup-qt { }; 31432 31433 pmbootstrap = python3Packages.callPackage ../tools/misc/pmbootstrap { };