diff --git a/pkgs/tools/misc/clolcat/default.nix b/pkgs/tools/misc/clolcat/default.nix new file mode 100644 index 000000000000..25c7ade5cd62 --- /dev/null +++ b/pkgs/tools/misc/clolcat/default.nix @@ -0,0 +1,28 @@ +{ stdenv +, fetchFromGitHub +, lib +}: + +stdenv.mkDerivation rec { + pname = "clolcat"; + version = "1.1"; + + src = fetchFromGitHub { + owner = "IchMageBaume"; + repo = "clolcat"; + rev = version; + sha256 = "sha256-fLa239dwEXe4Jyy5ntgfU9V0h5wrBsvq6/s2HCis7Sc="; + }; + + preInstall = "mkdir -p $out/bin"; + + makeFlags = [ "DESTDIR=$(out)/bin" ]; + + meta = with lib; { + description = "Much faster lolcat"; + homepage = "https://github.com/IchMageBaume/clolcat"; + platforms = platforms.all; + maintainers = [ maintainers.felipeqq2 ]; + license = licenses.wtfpl; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f29ace2fd102..bb6c76e4408c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6327,6 +6327,8 @@ with pkgs; cloc = callPackage ../tools/misc/cloc { }; + clolcat = callPackage ../tools/misc/clolcat { }; + cloog = callPackage ../development/libraries/cloog { isl = isl_0_14; };