Unverified Commit cca08be9 authored by natsukium's avatar natsukium
Browse files

cz-cli: 4.2.4 -> 4.3.0

bump and repackage with `buildNpmPackage`
parent 561f03ae
Loading
Loading
Loading
Loading
+18 −10
Original line number Diff line number Diff line
{ 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;
  };
}
+0 −9
Original line number Diff line number Diff line
#!/usr/bin/env nix-shell
#! nix-shell -I nixpkgs=../../../.. -i bash -p nodePackages.node2nix

node2nix \
  --node-env node-env.nix \
  --development \
  --input package.json \
  --output node-packages.nix \
  --composition node-composition.nix
+0 −17
Original line number Diff line number Diff line
# This file has been generated by node2nix 1.9.0. Do not edit!

{pkgs ? import <nixpkgs> {
    inherit system;
  }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs_14"}:

let
  nodeEnv = import ./node-env.nix {
    inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript;
    inherit pkgs nodejs;
    libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
  };
in
import ./node-packages.nix {
  inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit;
  inherit nodeEnv;
}
+0 −588

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −9432

File deleted.

Preview size limit exceeded, changes collapsed.

Loading