depot/third_party/nixpkgs/pkgs/development/python-modules/srt/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

32 lines
638 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hypothesis,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "srt";
version = "3.5.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-SIQxUEOk8HQP0fh47WyqN2rAbXDhNfMGptxEYy7tDMA=";
};
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [ "srt" ];
meta = with lib; {
homepage = "https://github.com/cdown/srt";
description = "Tiny but featureful Python library for parsing, modifying, and composing SRT files";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}