Loading pkgs/by-name/cg/cgt-calc/package.nix +5 −21 Original line number Diff line number Diff line Loading @@ -7,35 +7,18 @@ }: python3Packages.buildPythonApplication (finalAttrs: { pname = "cgt-calc"; # Includes updates to use pyrate-limiter v4 that are not released yet # unfortunately. version = "1.14.0-unstable-2026-02-23"; version = "2.0.0"; pyproject = true; src = fetchFromGitHub { owner = "KapJI"; repo = "capital-gains-calculator"; rev = "3326514c8e99904eeeda676948c4404da6fe1adc"; hash = "sha256-6iOlDNlpfCrbRCxEJsRYw6zqOehv/buVN+iU6J6CtIk="; tag = "v${finalAttrs.version}"; hash = "sha256-KPzADW+n82X08IMfSIl5JyYPm8fxbbowud8sBdUxRgA="; }; pythonRelaxDeps = [ # The built wheel holds an upper bound requirement for the version of these # dependenceis, while pyproject.toml doesn't. Upstream's `uv.lock` even # uses yfinance 1.2.0 . See: # https://github.com/KapJI/capital-gains-calculator/pull/744 "defusedxml" "yfinance" ]; pythonRemoveDeps = [ # Upstream's uv.lock doesn't reference this dependency, and lists # pyrate-limiter instead. The built wheel from some reason requests it # never the less. "requests-ratelimiter" ]; build-system = with python3Packages; [ poetry-core uv-build ]; dependencies = with python3Packages; [ Loading @@ -46,6 +29,7 @@ python3Packages.buildPythonApplication (finalAttrs: { pyrate-limiter types-requests yfinance colorama ]; makeWrapperArgs = lib.optionals withTeXLive [ Loading Loading
pkgs/by-name/cg/cgt-calc/package.nix +5 −21 Original line number Diff line number Diff line Loading @@ -7,35 +7,18 @@ }: python3Packages.buildPythonApplication (finalAttrs: { pname = "cgt-calc"; # Includes updates to use pyrate-limiter v4 that are not released yet # unfortunately. version = "1.14.0-unstable-2026-02-23"; version = "2.0.0"; pyproject = true; src = fetchFromGitHub { owner = "KapJI"; repo = "capital-gains-calculator"; rev = "3326514c8e99904eeeda676948c4404da6fe1adc"; hash = "sha256-6iOlDNlpfCrbRCxEJsRYw6zqOehv/buVN+iU6J6CtIk="; tag = "v${finalAttrs.version}"; hash = "sha256-KPzADW+n82X08IMfSIl5JyYPm8fxbbowud8sBdUxRgA="; }; pythonRelaxDeps = [ # The built wheel holds an upper bound requirement for the version of these # dependenceis, while pyproject.toml doesn't. Upstream's `uv.lock` even # uses yfinance 1.2.0 . See: # https://github.com/KapJI/capital-gains-calculator/pull/744 "defusedxml" "yfinance" ]; pythonRemoveDeps = [ # Upstream's uv.lock doesn't reference this dependency, and lists # pyrate-limiter instead. The built wheel from some reason requests it # never the less. "requests-ratelimiter" ]; build-system = with python3Packages; [ poetry-core uv-build ]; dependencies = with python3Packages; [ Loading @@ -46,6 +29,7 @@ python3Packages.buildPythonApplication (finalAttrs: { pyrate-limiter types-requests yfinance colorama ]; makeWrapperArgs = lib.optionals withTeXLive [ Loading