31 lines
871 B
Nix
31 lines
871 B
Nix
self: super: with super; {
|
|
|
|
feather-font = let
|
|
version = "1.0";
|
|
pname = "feather-font";
|
|
in stdenv.mkDerivation {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/dustinlyons/feather-font/archive/refs/tags/${version}.zip";
|
|
sha256 = "sha256-Zsz8/qn7XAG6BVp4XdqooEqioFRV7bLH0bQkHZvFbsg=";
|
|
};
|
|
|
|
buildInputs = [ unzip ];
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/fonts/truetype
|
|
cp $src/feather.ttf $out/share/fonts/truetype/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.feathericons.com/";
|
|
description = "Set of font icons from the open source collection Feather Icons";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.dlyons ];
|
|
platforms = [ platforms.x86_64-linux platforms.x86_64-darwin ];
|
|
};
|
|
};
|
|
}
|