about summary refs log tree commit diff
path: root/pkgs/applications/misc/nerd-font-patcher/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/nerd-font-patcher/default.nix')
-rw-r--r--pkgs/applications/misc/nerd-font-patcher/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/applications/misc/nerd-font-patcher/default.nix b/pkgs/applications/misc/nerd-font-patcher/default.nix
index 9912c3231c7e..e865479f8da0 100644
--- a/pkgs/applications/misc/nerd-font-patcher/default.nix
+++ b/pkgs/applications/misc/nerd-font-patcher/default.nix
@@ -2,7 +2,7 @@
 
 python3Packages.buildPythonApplication rec {
   pname = "nerd-font-patcher";
-  version = "2.1.0";
+  version = "2.2.2";
 
   # This uses a sparse checkout because the repo is >2GB without it
   src = fetchFromGitHub {
@@ -13,7 +13,7 @@ python3Packages.buildPythonApplication rec {
       font-patcher
       /src/glyphs
     '';
-    sha256 = "sha256-06dn6M2wCFO/uBHDR7VZHNHIybT4h/VGD9nHc4G0EKA=";
+    sha256 = "sha256-boZUd1PM8puc9BTgOwCJpkfk6VMdXLsIyp+fQmW/ZqI=";
   };
 
   propagatedBuildInputs = with python3Packages; [ fontforge ];
@@ -22,15 +22,15 @@ python3Packages.buildPythonApplication rec {
 
   postPatch = ''
     sed -i font-patcher \
-      -e 's,__dir__ + "/src,"'$out'/share/${pname},'
+      -e 's,__dir__ + "/src,"'$out'/share/nerd-font-patcher,'
   '';
 
   dontBuild = true;
 
   installPhase = ''
-    mkdir -p $out/bin $out/share/${pname}
-    install -Dm755 font-patcher $out/bin/${pname}
-    cp -ra src/glyphs $out/share/${pname}
+    mkdir -p $out/bin $out/share/nerd-font-patcher
+    install -Dm755 font-patcher $out/bin/nerd-font-patcher
+    cp -ra src/glyphs $out/share/nerd-font-patcher
   '';
 
   meta = with lib; {