56 lines
1.8 KiB
Nix
56 lines
1.8 KiB
Nix
final: prev: {
|
|
backscrub = prev.pkgs.callPackage ../pkgs/backscrub {
|
|
inherit (prev.pkgs)
|
|
gcc
|
|
cmake
|
|
opencv
|
|
curl
|
|
stdenv
|
|
git
|
|
tensorflow-lite
|
|
flatbuffers
|
|
;
|
|
};
|
|
|
|
ddccontrol-db = prev.ddccontrol-db.overrideAttrs (
|
|
_finalAttrs: prevAttrs: {
|
|
patches = (prevAttrs.patches or [ ]) ++ [ ./ddccontrol-db/0001-add-del41d9.patch ];
|
|
}
|
|
);
|
|
|
|
git-repo-go = prev.pkgs.callPackage ../pkgs/git-repo-go { };
|
|
|
|
# Temporary until nixos-unstable is fixed for Python 3.12
|
|
python312 = prev.python312.override {
|
|
packageOverrides = _finalPkgs: prevPkgs: {
|
|
nose = prevPkgs.nose.overrideAttrs {
|
|
patches = [
|
|
(final.fetchpatch2 {
|
|
url = "https://github.com/NixOS/nixpkgs/raw/599e471d78801f95ccd2c424a37e76ce177e50b9/pkgs/development/python-modules/nose/0001-nose-python-3.12-fixes.patch";
|
|
hash = "sha256-aePOvO5+TJL4JzXywc7rEiYRzfdObSI9fg9Cfrp+e2o=";
|
|
})
|
|
];
|
|
};
|
|
wxpython = prevPkgs.wxpython.overrideAttrs {
|
|
disabled = false;
|
|
postPatch =
|
|
let
|
|
waf_2_0_25 = prev.fetchurl {
|
|
url = "https://waf.io/waf-2.0.25";
|
|
hash = "sha256-IRmc0iDM9gQ0Ez4f0quMjlIXw3mRmcgnIlQ5cNyOONU=";
|
|
};
|
|
in
|
|
''
|
|
cp ${waf_2_0_25} bin/waf-2.0.25
|
|
chmod +x bin/waf-2.0.25
|
|
substituteInPlace build.py \
|
|
--replace-fail "wafCurrentVersion = '2.0.24'" "wafCurrentVersion = '2.0.25'" \
|
|
--replace-fail "wafMD5 = '698f382cca34a08323670f34830325c4'" "wafMD5 = 'a4b1c34a03d594e5744f9e42f80d969d'" \
|
|
--replace-fail "distutils.dep_util" "setuptools.modified"
|
|
'';
|
|
};
|
|
python-hglib = prevPkgs.python-hglib.overrideAttrs { dontUseSetuptoolsCheck = "1"; };
|
|
};
|
|
};
|
|
python312Packages = final.python312.pkgs;
|
|
}
|