treewide: fix hashes for sparse checkout
This commit is contained in:
parent
419dda4c60
commit
38858263da
|
@ -13,7 +13,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
font-patcher
|
font-patcher
|
||||||
/src/glyphs
|
/src/glyphs
|
||||||
'';
|
'';
|
||||||
sha256 = "sha256-ePBlEVjzAJ7g6iAGIqPfgZ8bwtNILmyEVm0zD+xNN6k=";
|
sha256 = "sha256-06dn6M2wCFO/uBHDR7VZHNHIybT4h/VGD9nHc4G0EKA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [ fontforge ];
|
propagatedBuildInputs = with python3Packages; [ fontforge ];
|
||||||
|
|
|
@ -117,14 +117,14 @@ in
|
||||||
typeface = "Sans";
|
typeface = "Sans";
|
||||||
version = "2.004";
|
version = "2.004";
|
||||||
rev = "9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d";
|
rev = "9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d";
|
||||||
sha256 = "sha256-11d/78i21yuzxrfB5t2VQN9OBz/qZKeozuS6BrLFjzw=";
|
sha256 = "sha256-PWpcTBnBRK87ZuRI/PsGp2UMQgCCyfkLHwvB1mOl5K0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
noto-fonts-cjk-serif = mkNotoCJK {
|
noto-fonts-cjk-serif = mkNotoCJK {
|
||||||
typeface = "Serif";
|
typeface = "Serif";
|
||||||
version = "2.000";
|
version = "2.000";
|
||||||
rev = "9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d";
|
rev = "9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d";
|
||||||
sha256 = "sha256-G+yl3LZvSFpbEUuuvattPDctKTzBCshOi970DcbPliE=";
|
sha256 = "sha256-1w66Ge7DZjbONGhxSz69uFhfsjMsDiDkrGl6NsoB7dY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
noto-fonts-emoji = let
|
noto-fonts-emoji = let
|
||||||
|
|
|
@ -21,7 +21,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
sparseCheckout = ''
|
sparseCheckout = ''
|
||||||
BeautyLine-V3
|
BeautyLine-V3
|
||||||
'';
|
'';
|
||||||
sha256 = "sha256-IkkypAj250+OXbf19TampCnqYsSbJVIjeYlxJoyhpzk=";
|
sha256 = "sha256-VEQWMY77cVz6UDn7FeMYYyYgXmXl1lLYs8MlFUuGRZE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${src.name}/BeautyLine-V3";
|
sourceRoot = "${src.name}/BeautyLine-V3";
|
||||||
|
|
|
@ -35,14 +35,13 @@ stdenvNoCC.mkDerivation rec {
|
||||||
sha256 = "sha256-5MP6X33Jfu97o5R1n6Og64Bv4ZMxVM0A8lXeQug+bNA=";
|
sha256 = "sha256-5MP6X33Jfu97o5R1n6Og64Bv4ZMxVM0A8lXeQug+bNA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
icons = let sparseCheckout = "/release/images/itch-icons"; in
|
icons = fetchFromGitHub {
|
||||||
fetchFromGitHub {
|
owner = "itchio";
|
||||||
owner = "itchio";
|
repo = pname;
|
||||||
repo = pname;
|
rev = "v${version}";
|
||||||
rev = "v${version}";
|
hash = "sha256-DZBmf8fe0zw5uiQjNKXw8g/vU2hjNDa87z/7XuhyXog=";
|
||||||
hash = "sha256-1L6STTBHA9xL9IaERaH2OTvurTSng1D+P3KoW0ucEJc=";
|
sparseCheckout = "release/images/itch-icons";
|
||||||
inherit sparseCheckout;
|
};
|
||||||
} + sparseCheckout;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ copyDesktopItems makeWrapper ];
|
nativeBuildInputs = [ copyDesktopItems makeWrapper ];
|
||||||
|
|
||||||
|
@ -69,7 +68,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
install -Dm644 LICENSE -t "$out/share/licenses/$pkgname/"
|
install -Dm644 LICENSE -t "$out/share/licenses/$pkgname/"
|
||||||
install -Dm644 LICENSES.chromium.html -t "$out/share/licenses/$pkgname/"
|
install -Dm644 LICENSES.chromium.html -t "$out/share/licenses/$pkgname/"
|
||||||
|
|
||||||
for icon in $icons/icon*.png
|
for icon in $icons/release/images/itch-icons/icon*.png
|
||||||
do
|
do
|
||||||
iconsize="''${icon#$icons/icon}"
|
iconsize="''${icon#$icons/icon}"
|
||||||
iconsize="''${iconsize%.png}"
|
iconsize="''${iconsize%.png}"
|
||||||
|
|
Loading…
Reference in a new issue