about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/do/doge/package.nix
blob: 975fbfa849229129851f87c0691b002029768409 (plain) (blame)
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
29
30
31
32
33
{
  lib,
  python3Packages,
  fetchFromGitHub,
  fetchpatch,
}:
python3Packages.buildPythonPackage rec {
  pname = "doge";
  version = "3.6.0";

  src = fetchFromGitHub {
    owner = "Olivia5k";
    repo = "doge";
    rev = version;
    hash = "sha256-72nRghD5k0ofrlvV3hEdyrr6uzV4+8At1bOCmRZTxhk=";
  };

  patches = [
    # https://github.com/Olivia5k/doge/pull/66, adds a small doge
    (fetchpatch {
      url = "https://github.com/Olivia5k/doge/commit/14e3ccc0a3f1e91862492e20a34d008768a34039.patch";
      hash = "sha256-3F+7F9RuoiVWoN+69T7tM871AXX1IQbHqFxD+S3TjxQ=";
    })
  ];

  meta = {
    homepage = "https://github.com/Olivia5k/doge";
    description = "Wow very terminal doge";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [Gonzih quantenzitrone];
    mainProgram = "doge";
  };
}