Update instawow.
This commit is contained in:
@@ -282,6 +282,32 @@ in
|
|||||||
(disableOptimizationsPython3 "zopfli") # /nix/store/idjhlmljrapzm3i1svl5x9mdwfxxj51v-pytest-check-hook/nix-support/setup-hook: line 23: 280 Segmentation fault (core dumped) /nix/store/87l6i0czch42nzv39ydwld5hnhcq0b65-python3-3.14.7/bin/python3.14 "${flagsArray[@]}"
|
(disableOptimizationsPython3 "zopfli") # /nix/store/idjhlmljrapzm3i1svl5x9mdwfxxj51v-pytest-check-hook/nix-support/setup-hook: line 23: 280 Segmentation fault (core dumped) /nix/store/87l6i0czch42nzv39ydwld5hnhcq0b65-python3-3.14.7/bin/python3.14 "${flagsArray[@]}"
|
||||||
(disableOptimizations "zopfli")
|
(disableOptimizations "zopfli")
|
||||||
(disableOptimizations "nototools") # Needs to use the same version of python as the zopfli package
|
(disableOptimizations "nototools") # Needs to use the same version of python as the zopfli package
|
||||||
|
(final: prev: {
|
||||||
|
instawow = prev.instawow.overrideAttrs (
|
||||||
|
finalAttrs: prevAttrs:
|
||||||
|
let
|
||||||
|
version = "7.2.1";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
src = final.fetchFromGitHub {
|
||||||
|
owner = "layday";
|
||||||
|
repo = "instawow";
|
||||||
|
tag = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-5y+oJfzWwaUc3p4fzsQ4j8a6YJEsI+3Qy3gK6VPkjA4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.versioningit ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Upstream uses versioningit to set the version
|
||||||
|
sed -i '/^name =.*/a version = "${version}"' pyproject.toml
|
||||||
|
sed -i "/dynamic =/,+2d" pyproject.toml
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
);
|
||||||
|
})
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
|
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
|
||||||
(python-final: python-prev: {
|
(python-final: python-prev: {
|
||||||
|
|||||||
Reference in New Issue
Block a user