2023-01-30 13:22:54 +01:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2021-03-21 07:13:47 +01:00
|
|
|
|
2023-01-30 13:22:54 +01:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "curie";
|
2021-03-21 07:13:47 +01:00
|
|
|
version = "1.0";
|
|
|
|
|
2023-01-30 13:22:54 +01:00
|
|
|
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
|
|
|
|
2023-01-30 13:22:54 +01:00
|
|
|
sourceRoot = ".";
|
2021-03-21 07:13:47 +01:00
|
|
|
|
2023-01-30 13:22:54 +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
|
2023-01-30 13:22:54 +01:00
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|