nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation {
8 pname = "pridecat";
9 version = "0-unstable-2020-06-19";
10
11 src = fetchFromGitHub {
12 owner = "lunasorcery";
13 repo = "pridecat";
14 rev = "92396b11459e7a4b5e8ff511e99d18d7a1589c96";
15 sha256 = "sha256-PyGLbbsh9lFXhzB1Xn8VQ9zilivycGFEIc7i8KXOxj8=";
16 };
17
18 # fixes the install path in the Makefile
19 patches = [ ./fix_install.patch ];
20
21 meta = with lib; {
22 description = "Like cat, but more colorful";
23 homepage = "https://github.com/lunasorcery/pridecat";
24 license = licenses.cc-by-nc-sa-40;
25 maintainers = with maintainers; [ lunarequest ];
26 mainProgram = "pridecat";
27 };
28}