Commit fa3a3125 authored by Robert Schütz's avatar Robert Schütz
Browse files
parent 3d061fb0
Loading
Loading
Loading
Loading
+6 −10
Original line number Diff line number Diff line
{
  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 ];
  };
}