nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 gg,
6}:
7
8buildDunePackage (finalAttrs: {
9 pname = "color";
10 version = "0.2.0";
11
12 src = fetchurl {
13 url = "https://github.com/anuragsoni/color/releases/download/${finalAttrs.version}/color-${finalAttrs.version}.tbz";
14 hash = "sha256-8BZjdafFnFTTz75be+5vJnP42vr4FHfLt+6oEM1Q43E=";
15 };
16
17 propagatedBuildInputs = [
18 gg
19 ];
20
21 meta = {
22 description = "Converts between different color formats";
23 license = lib.licenses.mit;
24 maintainers = with lib.maintainers; [ fgaz ];
25 homepage = "https://github.com/anuragsoni/color";
26 };
27})