From cb558fa1e95c6595eaf9880f9afbf8871bc269e6 Mon Sep 17 00:00:00 2001 From: Felipe Silva Date: Sun, 19 Mar 2023 12:02:36 -0300 Subject: [PATCH] clolcat: init at 1.1 --- pkgs/tools/misc/clolcat/default.nix | 28 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/tools/misc/clolcat/default.nix 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; };