summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/pr/pridecat/package.nix
blob: d85a0ad75fbd459cc9c9e07b6c6dbbe5facbee53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 = {
    description = "Like cat, but more colorful";
    homepage = "https://github.com/lunasorcery/pridecat";
    license = lib.licenses.cc-by-nc-sa-40;
    maintainers = with lib.maintainers; [ lunarequest ];
    mainProgram = "pridecat";
  };
}