nerd-font-patcher: 2.1.0 -> 2.2.2
This commit is contained in:
parent
119aeb2067
commit
f287660cdc
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "nerd-font-patcher";
|
pname = "nerd-font-patcher";
|
||||||
version = "2.1.0";
|
version = "2.2.2";
|
||||||
|
|
||||||
# This uses a sparse checkout because the repo is >2GB without it
|
# This uses a sparse checkout because the repo is >2GB without it
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -13,7 +13,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
font-patcher
|
font-patcher
|
||||||
/src/glyphs
|
/src/glyphs
|
||||||
'';
|
'';
|
||||||
sha256 = "sha256-06dn6M2wCFO/uBHDR7VZHNHIybT4h/VGD9nHc4G0EKA=";
|
sha256 = "sha256-boZUd1PM8puc9BTgOwCJpkfk6VMdXLsIyp+fQmW/ZqI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [ fontforge ];
|
propagatedBuildInputs = with python3Packages; [ fontforge ];
|
||||||
|
@ -22,15 +22,15 @@ python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i font-patcher \
|
sed -i font-patcher \
|
||||||
-e 's,__dir__ + "/src,"'$out'/share/${pname},'
|
-e 's,__dir__ + "/src,"'$out'/share/nerd-font-patcher,'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/${pname}
|
mkdir -p $out/bin $out/share/nerd-font-patcher
|
||||||
install -Dm755 font-patcher $out/bin/${pname}
|
install -Dm755 font-patcher $out/bin/nerd-font-patcher
|
||||||
cp -ra src/glyphs $out/share/${pname}
|
cp -ra src/glyphs $out/share/nerd-font-patcher
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue