mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-19 20:09:01 +02:00
sn-pro: init at 1.1.0
This commit is contained in:
parent
e0dd3ae0c3
commit
2bc8d8f5e6
30
pkgs/by-name/sn/sn-pro/package.nix
Normal file
30
pkgs/by-name/sn/sn-pro/package.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "sn-pro";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "supernotes";
|
||||
repo = "sn-pro";
|
||||
rev = version;
|
||||
hash = "sha256-G/DIHWs91HYVbrV/jZ4aFsCCjqORo8YeqcHGN0LZ8p4=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 -t $out/share/fonts/otf exports/SNPro/*.otf
|
||||
install -Dm644 -t $out/share/fonts/woff2 exports/SNPro/*.woff2
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "SN Pro Font Family";
|
||||
homepage = "https://github.com/supernotes/sn-pro";
|
||||
license = licenses.ofl;
|
||||
maintainers = with maintainers; [ colemickens ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue