nixpkgs/pkgs/data/fonts/curie/default.nix

31 lines
713 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchurl }:
2021-03-21 07:13:47 +01:00
stdenvNoCC.mkDerivation rec {
pname = "curie";
2021-03-21 07:13:47 +01:00
version = "1.0";
src = fetchurl {
url = "https://github.com/NerdyPepper/curie/releases/download/v${version}/curie-v${version}.tar.gz";
hash = "sha256-B89GNbOmm3lY/cRWQJEFu/5morCM/WrRQb/m6covbt8=";
};
2021-03-21 07:13:47 +01:00
sourceRoot = ".";
2021-03-21 07:13:47 +01:00
installPhase = ''
runHook preInstall
2021-03-21 07:13:47 +01:00
mkdir -p $out/share/fonts/misc
install *.otb $out/share/fonts/misc
runHook postInstall
2021-03-21 07:13:47 +01:00
'';
meta = with lib; {
description = "An upscaled version of scientifica";
homepage = "https://github.com/NerdyPepper/curie";
license = licenses.ofl;
platforms = platforms.all;
2023-11-17 11:03:27 +01:00
maintainers = with maintainers; [ moni ];
2021-03-21 07:13:47 +01:00
};
}