Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions pkgs/applications/version-management/cz-cli/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
{ pkgs, nodejs, stdenv, lib, ... }:
{ lib
, buildNpmPackage
, fetchFromGitHub
}:

let
nodePackages = import ./node-composition.nix {
inherit pkgs nodejs;
inherit (stdenv.hostPlatform) system;
buildNpmPackage rec {
pname = "cz-cli";
version = "4.3.0";

src = fetchFromGitHub {
owner = "commitizen";
repo = "cz-cli";
rev = "refs/tags/v${version}";
hash = "sha256-4kyGxidE8dzkHL0oPv/XxDxQ3qlEE6TKSgj+1g9uvJM=";
};
in
nodePackages.commitizen.override {
name = "cz-cli";

npmDepsHash = "sha256-zQ0T/1khnn+CXm/3yc9nANL0ROEEE03U5fV57btEmPg=";

meta = with lib; {
description = "The commitizen command line utility";
homepage = "https://commitizen.github.io/cz-cli";
maintainers = with maintainers; [ freezeboy ];
changelog = "https://github.com/commitizen/cz-cli/releases/tag/v${version}";
maintainers = with maintainers; [ freezeboy natsukium ];
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
};
}

This file was deleted.

17 changes: 0 additions & 17 deletions pkgs/applications/version-management/cz-cli/node-composition.nix

This file was deleted.

Loading