diff --git a/pkgs/development/python-modules/blacken-docs/default.nix b/pkgs/development/python-modules/blacken-docs/default.nix index 7370471c2604..638d8e5f2260 100644 --- a/pkgs/development/python-modules/blacken-docs/default.nix +++ b/pkgs/development/python-modules/blacken-docs/default.nix @@ -9,34 +9,28 @@ buildPythonPackage rec { pname = "blacken-docs"; - version = "1.15.0"; + version = "1.19.1"; pyproject = true; src = fetchFromGitHub { owner = "adamchainz"; repo = "blacken-docs"; - rev = version; - hash = "sha256-3FGuFOAHCcybPwujWlh58NWtuF5CebaKTgBWgCGpSL8="; + tag = version; + hash = "sha256-cMnwOrkOma+su4CDheHRd484pG4GMSm+i/Xcus3E+m8="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; - dependencies = [ - black - ]; + dependencies = [ black ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - meta = with lib; { + meta = { homepage = "https://github.com/adamchainz/blacken-docs"; changelog = "https://github.com/adamchainz/blacken-docs/blob/${src.rev}/CHANGELOG.rst"; description = "Run Black on Python code blocks in documentation files"; - license = licenses.mit; - maintainers = with maintainers; [ l0b0 ]; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.l0b0 ]; mainProgram = "blacken-docs"; }; }