feat(configs/desktop): add google sans
This commit is contained in:
parent
ae25ebedf1
commit
1cdca76787
3 changed files with 25 additions and 0 deletions
23
exprs/google-sans.nix
Normal file
23
exprs/google-sans.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "google-sans";
|
||||
version = "0-unstable-2018-07-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hprobotic";
|
||||
repo = "Google-Sans-Font";
|
||||
rev = "ce4644946bd4e662fec8cf9736b3f99fefa7d308";
|
||||
hash = "sha256-87dKgkb27+O3Y3qQ203PDY3yLCduvIj7hFfNAV9gLOA=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue