diff --git a/pkgs/development/python-modules/gitlike-commands/default.nix b/pkgs/development/python-modules/gitlike-commands/default.nix index e1fb2f8d298d..6452f756120f 100644 --- a/pkgs/development/python-modules/gitlike-commands/default.nix +++ b/pkgs/development/python-modules/gitlike-commands/default.nix @@ -5,19 +5,19 @@ poetry-core, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "gitlike-commands"; - version = "0.3.0"; + version = "0.3.1"; pyproject = true; src = fetchFromGitHub { owner = "unixorn"; repo = "gitlike-commands"; - tag = "v${version}"; - hash = "sha256-Z0l8nCKov1iMJvI3YTHvg0ey+oPju3rgaKtmk6OX44g="; + tag = "v${finalAttrs.version}"; + hash = "sha256-7z6JJgTbELWor8GodtWRg51/oeakLcb9rAdT6K0/JQs="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; # Module has no real tests doCheck = false; @@ -27,8 +27,8 @@ buildPythonPackage rec { meta = { description = "Easy python module for creating git-style subcommand handling"; homepage = "https://github.com/unixorn/gitlike-commands"; - changelog = "https://github.com/unixorn/gitlike-commands/releases/tag/v${version}"; + changelog = "https://github.com/unixorn/gitlike-commands/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})