summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/co/cooper/package.nix
blob: fefbb01d71559836e0a814ce52f8add1357e8562 (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
29
30
31
32
{
  lib,
  stdenvNoCC,
  fetchFromGitHub,
  installFonts,
}:
stdenvNoCC.mkDerivation {
  pname = "cooper";
  version = "1.01-unstable-2025-05-25";

  outputs = [
    "out"
    "webfont"
  ];

  src = fetchFromGitHub {
    owner = "indestructible-type";
    repo = "Cooper";
    rev = "062a60572254535634569ab23b993a5745bab4ac";
    hash = "sha256-4WaRFvAn32IfeCCDszOsmDxFuKnnADOXj/vj8SZB2mU=";
  };

  nativeBuildInputs = [ installFonts ];

  meta = {
    homepage = "https://indestructibletype.com/Cooper/index.html";
    description = "Cooper* a revival of the Cooper font family by indestructible type*";
    license = lib.licenses.ofl;
    platforms = lib.platforms.all;
    maintainers = with lib.maintainers; [ gavink97 ];
  };
}