summaryrefslogtreecommitdiff
path: root/pkgs/line-awesome-css.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/line-awesome-css.nix')
-rw-r--r--pkgs/line-awesome-css.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/line-awesome-css.nix b/pkgs/line-awesome-css.nix
index 3bbfaa3..45b902e 100644
--- a/pkgs/line-awesome-css.nix
+++ b/pkgs/line-awesome-css.nix
@@ -1,16 +1,19 @@
-{ stdenv, fetchurl, fontsRelativeDirectory ? "./webfonts", fontDisplay ? "swap"
+{
+ stdenv,
+ fetchurl,
+ fontsRelativeDirectory ? "./webfonts",
+ fontDisplay ? "swap",
}:
stdenv.mkDerivation rec {
name = "line-awesome.css";
version = "v1.2.1";
src = fetchurl {
- url =
- "https://raw.githubusercontent.com/icons8/line-awesome/${version}/dist/line-awesome/css/line-awesome.css";
+ url = "https://raw.githubusercontent.com/icons8/line-awesome/${version}/dist/line-awesome/css/line-awesome.css";
sha256 = "sha256:GU24Xz6l3Ww4ZCcL2ByssTe04fHBRz9k2aZVRdj0xm4=";
};
- phases = [ "installPhase" ];
+ phases = ["installPhase"];
installPhase = ''
cp $src $out
substituteInPlace $out --replace '../fonts' '${fontsRelativeDirectory}' \