Loading pkgs/by-name/kn/knope/package.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { fetchFromGitHub, git, lib, libgit2, nix-update-script, pkg-config, rustPlatform, versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "knope"; version = "0.22.4"; src = fetchFromGitHub { owner = "knope-dev"; repo = "knope"; tag = "knope/v${finalAttrs.version}"; hash = "sha256-2lZhetmctKSfLXd7jvepm1+Vc0db1teryx6tehEHCJM="; }; cargoHash = "sha256-L7IT7nWinyWiuIwlBmGmHDyKB+o3LJBanHVFRQpWB+c="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libgit2 ]; env.LIBGIT2_NO_VENDOR = 1; nativeCheckInputs = [ git ]; nativeInstallCheckInputs = [ versionCheckHook ]; __structuredAttrs = true; doInstallCheck = true; strictDeps = true; passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex" "knope/v(.*)" ]; }; meta = { changelog = "https://github.com/knope-dev/knope/blob/${finalAttrs.src.tag}/CHANGELOG.md"; description = "Automation for changelogs and releases using conventional commits and/or changesets"; homepage = "https://knope.tech/"; mainProgram = "knope"; maintainers = with lib.maintainers; [ mdaniels5757 ]; license = lib.licenses.mit; }; }) Loading
pkgs/by-name/kn/knope/package.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { fetchFromGitHub, git, lib, libgit2, nix-update-script, pkg-config, rustPlatform, versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "knope"; version = "0.22.4"; src = fetchFromGitHub { owner = "knope-dev"; repo = "knope"; tag = "knope/v${finalAttrs.version}"; hash = "sha256-2lZhetmctKSfLXd7jvepm1+Vc0db1teryx6tehEHCJM="; }; cargoHash = "sha256-L7IT7nWinyWiuIwlBmGmHDyKB+o3LJBanHVFRQpWB+c="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libgit2 ]; env.LIBGIT2_NO_VENDOR = 1; nativeCheckInputs = [ git ]; nativeInstallCheckInputs = [ versionCheckHook ]; __structuredAttrs = true; doInstallCheck = true; strictDeps = true; passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex" "knope/v(.*)" ]; }; meta = { changelog = "https://github.com/knope-dev/knope/blob/${finalAttrs.src.tag}/CHANGELOG.md"; description = "Automation for changelogs and releases using conventional commits and/or changesets"; homepage = "https://knope.tech/"; mainProgram = "knope"; maintainers = with lib.maintainers; [ mdaniels5757 ]; license = lib.licenses.mit; }; })