aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/ansi-styles
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-10-05 14:32:34 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-10-05 14:32:34 +0200
commit706b4722ef70748af81a06bcbc86d82018e0eeb3 (patch)
tree4dfa3db0b474630253b5a49cc6063db22289204e /npmPackages/ansi-styles
parenta62999def2194f4e3950b43aafb8ccc9b0a03b3a (diff)
downloadnpm.nix-706b4722ef70748af81a06bcbc86d82018e0eeb3.tar.gz
Add ansi-styles
Diffstat (limited to 'npmPackages/ansi-styles')
-rw-r--r--npmPackages/ansi-styles/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/npmPackages/ansi-styles/default.nix b/npmPackages/ansi-styles/default.nix
new file mode 100644
index 0000000..5f26bd5
--- /dev/null
+++ b/npmPackages/ansi-styles/default.nix
@@ -0,0 +1,23 @@
+{ fetchurl, buildNpmPackage, ava, color-convert, svg-term-cli, xo }:
+
+buildNpmPackage {
+ pname = "ansi-styles";
+ version = "4.1.0";
+ src = fetchurl {
+ url = "https://github.com/chalk/ansi-styles/archive/v4.1.0.tar.gz";
+ sha256 = "1p3b4agrb73b46lw17c1nrx45pkfpi7jfbwp3xdcz1azcrjhri2c";
+ };
+
+ meta = {
+ description = "ANSI escape codes for styling strings in the terminal";
+ homepage = "";
+ license = "MIT";
+ };
+
+ npmInputs = [
+ ava color-convert svg-term-cli xo
+ ];
+
+ jailbreak = true;
+}
+