Skip to content

Commit

Permalink
commitizen: init at 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
freezeboy committed Sep 11, 2020
1 parent 2822451 commit c66bd4b
Show file tree
Hide file tree
Showing 7 changed files with 9,661 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pkgs/applications/version-management/commitizen/default.nix
@@ -0,0 +1,17 @@
{ pkgs, nodejs, stdenv, lib, ... }:

let
nodePackages = import ./node-composition.nix {
inherit pkgs nodejs;
inherit (stdenv.hostPlatform) system;
};
in
nodePackages.commitizen.override {
meta = with lib; {
description = "The commitizen command line utility";
homepage = "https://commitizen.github.io/cz-cli";
maintainers = with maintainers; [ freezeboy ];
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
};
}
@@ -0,0 +1,9 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p nodePackages.node2nix

node2nix \
--node-env node-env.nix \
--development \
--input package.json \
--output node-packages.nix \
--composition node-composition.nix
@@ -0,0 +1,17 @@
# This file has been generated by node2nix 1.8.0. Do not edit!

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

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

0 comments on commit c66bd4b

Please sign in to comment.