diff --git a/pkgs/development/python-modules/pycaption/default.nix b/pkgs/development/python-modules/pycaption/default.nix index 438fe2ee5bfc..3252fe500917 100644 --- a/pkgs/development/python-modules/pycaption/default.nix +++ b/pkgs/development/python-modules/pycaption/default.nix @@ -1,7 +1,6 @@ { lib, buildPythonPackage, - pythonOlder, fetchFromGitHub, setuptools, beautifulsoup4, @@ -14,17 +13,14 @@ buildPythonPackage rec { pname = "pycaption"; - version = "2.2.16"; - - disabled = pythonOlder "3.8"; - + version = "2.2.18"; pyproject = true; src = fetchFromGitHub { owner = "pbs"; repo = "pycaption"; tag = version; - hash = "sha256-w617mOxvL1alj7jauH4TVsYO0wxMHIFjevdhb4+542s="; + hash = "sha256-7XI7vZiFNIvRD1enXC7SffqGIRMX6lPfcioLPJuszEk="; }; build-system = [ setuptools ]; @@ -44,11 +40,11 @@ buildPythonPackage rec { pytestCheckHook ]; - meta = with lib; { - changelog = "https://github.com/pbs/pycaption/blob/${version}/docs/changelog.rst"; + meta = { + changelog = "https://github.com/pbs/pycaption/blob/${src.tag}/docs/changelog.rst"; description = "Closed caption converter"; homepage = "https://github.com/pbs/pycaption"; - license = licenses.asl20; - maintainers = with maintainers; [ dotlambda ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ dotlambda ]; }; }