From 706b4722ef70748af81a06bcbc86d82018e0eeb3 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 5 Oct 2019 14:32:34 +0200 Subject: Add ansi-styles --- npmPackages/ansi-styles/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 npmPackages/ansi-styles/default.nix (limited to 'npmPackages/ansi-styles') 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; +} + -- cgit v1.2.3