push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
diff --git a/Makefile b/Makefile
index 815c27e..1556807 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
CXX ?= clang
+out ?= /usr/local
all: pridecat
@@ -6,7 +7,8 @@ pridecat: main.cpp
$(CXX) main.cpp -o pridecat -std=c++11 -lstdc++ -Wall -Wextra -O3
install: pridecat
- cp pridecat /usr/local/bin/pridecat
+ mkdir -p ${out}/bin
+ cp pridecat ${out}/bin/pridecat
uninstall:
rm -f /usr/local/bin/pridecat

View File

@@ -0,0 +1,28 @@
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "pridecat";
version = "0-unstable-2020-06-19";
src = fetchFromGitHub {
owner = "lunasorcery";
repo = "pridecat";
rev = "92396b11459e7a4b5e8ff511e99d18d7a1589c96";
sha256 = "sha256-PyGLbbsh9lFXhzB1Xn8VQ9zilivycGFEIc7i8KXOxj8=";
};
# fixes the install path in the Makefile
patches = [ ./fix_install.patch ];
meta = with lib; {
description = "Like cat, but more colorful";
homepage = "https://github.com/lunasorcery/pridecat";
license = licenses.cc-by-nc-sa-40;
maintainers = with maintainers; [ lunarequest ];
mainProgram = "pridecat";
};
}