aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/chartjs-color-string/default.nix
blob: ae342fc6a228fa715db541dfce2c815272eb9400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ fetchurl, buildNpmPackage, color-name }:

buildNpmPackage rec {
  pname = "chartjs-color-string";
  version = "0.6.0";
  src = fetchurl {
    url = "https://github.com/chartjs/chartjs-color-string/archive/v${version}.tar.gz";
    sha256 = "0rfdrr3a6pvb49k30m9gqfpac0j0zvnabz1gvd8mhif5cn4r6c2x";
  };

  npmInputs = [
    color-name
  ];

  files = [
    "color-string.js"
  ];

}