nixops_unstable_minimal: 1.7.0 (2024-02-28) -> 2.0.0 (2025-12-28) (#477448)

This commit is contained in:
Robert Hensing
2026-01-13 18:20:53 +00:00
committed by GitHub
@@ -14,20 +14,17 @@
buildPythonApplication rec {
pname = "nixops";
version = "1.7-unstable-2024-02-28";
version = "2.0.0-unstable-2025-12-28";
pyproject = true;
src = fetchFromGitHub {
owner = "NixOS";
repo = "nixops";
rev = "08feccb14074c5434f3e483d19a7f7d9bfcdb669";
hash = "sha256-yWeF5apQJdChjYVSOyH6LYjJYGa1RL68LRHrSgZ9l8U=";
rev = "fd4b8031dbaf753545188b7c380194e47604dbac";
hash = "sha256-BYCCULov1/Mu5Tp4N1voQFPVWsWVyKhlQoH+I7IJnuE=";
};
postPatch = ''
substituteInPlace pyproject.toml --replace-fail \
'include = ["nix/*.nix", "nixops/py.typed" ]' \
'include = [ { path = "nix/*.nix", format = "wheel" }, { path = "nixops/py.typed", format = "wheel" } ]'
substituteInPlace nixops/args.py --replace-fail "@version@" "${version}-pre-${
lib.substring 0 7 src.rev or "dirty"
}"