Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 gg, 6}: 7 8buildDunePackage rec { 9 pname = "color"; 10 version = "0.2.0"; 11 12 useDune2 = true; 13 minimalOCamlVersion = "4.05"; 14 15 src = fetchurl { 16 url = "https://github.com/anuragsoni/color/releases/download/${version}/color-${version}.tbz"; 17 sha256 = "0wg3a36i1a7fnz5pf57qzbdghwr6dzp7nnxyrz9m9765lxsn65ph"; 18 }; 19 20 propagatedBuildInputs = [ 21 gg 22 ]; 23 24 meta = with lib; { 25 description = "Converts between different color formats"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ fgaz ]; 28 homepage = "https://github.com/anuragsoni/color"; 29 }; 30}