Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenvNoCC,
4 fetchurl,
5}:
6
7stdenvNoCC.mkDerivation rec {
8 pname = "curie";
9 version = "1.0";
10
11 src = fetchurl {
12 url = "https://github.com/NerdyPepper/curie/releases/download/v${version}/curie-v${version}.tar.gz";
13 hash = "sha256-B89GNbOmm3lY/cRWQJEFu/5morCM/WrRQb/m6covbt8=";
14 };
15
16 sourceRoot = ".";
17
18 installPhase = ''
19 runHook preInstall
20
21 mkdir -p $out/share/fonts/misc
22 install *.otb $out/share/fonts/misc
23
24 runHook postInstall
25 '';
26
27 meta = with lib; {
28 description = "Upscaled version of scientifica";
29 homepage = "https://github.com/NerdyPepper/curie";
30 license = licenses.ofl;
31 platforms = platforms.all;
32 maintainers = with maintainers; [ moni ];
33 };
34}