Merge pull request #16618 from leenaars/norwester
norwester-font: init at 1.2
This commit is contained in:
commit
c4ba6cbcf2
2 changed files with 31 additions and 0 deletions
29
pkgs/data/fonts/norwester/default.nix
Normal file
29
pkgs/data/fonts/norwester/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ stdenv, fetchurl, unzip }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "norwester";
|
||||||
|
version = "1.2";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://jamiewilson.io/norwester/assets/norwester.zip";
|
||||||
|
sha256 = "0syg8ss7mpli4cbxvh3ld7qrlbhb2dfv3wchm765iw6ndc05g92d";
|
||||||
|
};
|
||||||
|
|
||||||
|
phases = [ "installPhase" ];
|
||||||
|
|
||||||
|
buildInputs = [ unzip ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/fonts/opentype
|
||||||
|
unzip -D -j $src ${pname}-v${version}/${pname}.otf -d $out/share/fonts/opentype/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "http://jamiewilson.io/norwester";
|
||||||
|
description = "A condensed geometric sans serif by Jamie Wilson";
|
||||||
|
maintainers = with maintainers; [ leenaars ];
|
||||||
|
license = licenses.ofl;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -16812,6 +16812,8 @@ in
|
||||||
|
|
||||||
nixos-artwork = callPackage ../data/misc/nixos-artwork { };
|
nixos-artwork = callPackage ../data/misc/nixos-artwork { };
|
||||||
|
|
||||||
|
norwester-font = callPackage ../data/fonts/norwester {};
|
||||||
|
|
||||||
nut = callPackage ../applications/misc/nut { };
|
nut = callPackage ../applications/misc/nut { };
|
||||||
|
|
||||||
solfege = callPackage ../misc/solfege {
|
solfege = callPackage ../misc/solfege {
|
||||||
|
|
Loading…
Reference in a new issue