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