about summary refs log tree commit diff
path: root/pkgs/applications/misc/nerd-font-patcher/default.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-09-10 06:05:38 +0000
committerGitHub <noreply@github.com>2022-09-10 06:05:38 +0000
commit5e1d3d9bd083903f755c1043ceecc703dbd2c877 (patch)
tree14d0553577ec007f265e483ab6a91e3b1af04e38 /pkgs/applications/misc/nerd-font-patcher/default.nix
parent5644fd38ad7dc7a3f116ffd07b52b897e86c3f89 (diff)
parentf71081ca56832467f5b40c682c451867f932b15c (diff)
downloadnixlib-5e1d3d9bd083903f755c1043ceecc703dbd2c877.tar
nixlib-5e1d3d9bd083903f755c1043ceecc703dbd2c877.tar.gz
nixlib-5e1d3d9bd083903f755c1043ceecc703dbd2c877.tar.bz2
nixlib-5e1d3d9bd083903f755c1043ceecc703dbd2c877.tar.lz
nixlib-5e1d3d9bd083903f755c1043ceecc703dbd2c877.tar.xz
nixlib-5e1d3d9bd083903f755c1043ceecc703dbd2c877.tar.zst
nixlib-5e1d3d9bd083903f755c1043ceecc703dbd2c877.zip
Merge master into staging-next
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; {