Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / sn / sn-pro / package.nix
blobb8e431c6efcfaa03c7070acc1c38ddd6ab50b5eb
1 { lib, stdenvNoCC, fetchFromGitHub }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "sn-pro";
5   version = "1.1.0";
7   src = fetchFromGitHub {
8     owner = "supernotes";
9     repo = "sn-pro";
10     rev = version;
11     hash = "sha256-G/DIHWs91HYVbrV/jZ4aFsCCjqORo8YeqcHGN0LZ8p4=";
12   };
14   installPhase = ''
15     runHook preInstall
17     install -Dm644 -t $out/share/fonts/otf exports/SNPro/*.otf
18     install -Dm644 -t $out/share/fonts/woff2 exports/SNPro/*.woff2
20     runHook postInstall
21   '';
23   meta = with lib; {
24     description = "SN Pro Font Family";
25     homepage = "https://github.com/supernotes/sn-pro";
26     license = licenses.ofl;
27     maintainers = with maintainers; [ colemickens ];
28     platforms = platforms.all;
29   };