mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
hanken-grotesk: init at 0-unstable-2024-01-30
Co-authored-by: emaryn <197520219+emaryn@users.noreply.github.com>
This commit is contained in:
parent
2fef5d6b2f
commit
a6290d3e23
1 changed files with 36 additions and 0 deletions
36
pkgs/by-name/ha/hanken-grotesk/package.nix
Normal file
36
pkgs/by-name/ha/hanken-grotesk/package.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
pname = "hanken-grotesk";
|
||||||
|
version = "0-unstable-2024-01-30";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "marcologous";
|
||||||
|
repo = "hanken-grotesk";
|
||||||
|
rev = "1ab416e82130b2d3ddb7710abf7ceabf07156a13";
|
||||||
|
hash = "sha256-CgxqC+4QrjdsB7VdAMneP8ND9AsWPVI8d8UOn4kytxs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir --parents $out/share/fonts
|
||||||
|
cp --recursive fonts/ttf $out/share/fonts/truetype
|
||||||
|
cp --recursive fonts/variable $out/share/fonts/variable
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Hanken Grotesk typeface";
|
||||||
|
longDescription = "Hanken Grotesk is a sans serif typeface inspired by the classic grotesques.";
|
||||||
|
homepage = "https://github.com/marcologous/hanken-grotesk";
|
||||||
|
license = lib.licenses.ofl;
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
maintainers = with lib.maintainers; [ bricked ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue