diff options
author | Ivv <41924494+IvarWithoutBones@users.noreply.github.com> | 2022-05-29 02:41:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-29 02:41:52 +0200 |
commit | e2bdf4958019e2716a74cb96ae7a6a404a1afe9f (patch) | |
tree | 5eebe0af7c6bb34340eabe9a7cc74e896e2ea09c /pkgs/development | |
parent | 57436c50ee9f1cb4bb9b6b18220d83f2dd5e4e75 (diff) | |
parent | 845591e71bfddb8751c0afb583e90b415d14f3d3 (diff) |
Merge pull request #173134 from linsui/yutto
yutto: init at 2.0.0b13
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/biliass/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/biliass/default.nix b/pkgs/development/python-modules/biliass/default.nix new file mode 100644 index 0000000000000..fe2cd731a1ce2 --- /dev/null +++ b/pkgs/development/python-modules/biliass/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, protobuf +}: + +buildPythonPackage rec { + pname = "biliass"; + version = "1.3.4"; + disabled = pythonOlder "3.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-kktK+6rLwYhkG7LiTBlgBbiIN8apweg4l8pJSTjKQU4="; + }; + + propagatedBuildInputs = [ protobuf ]; + + pythonImportsCheck = [ "biliass" ]; + + meta = with lib; { + homepage = "https://github.com/yutto-dev/biliass"; + description = "Convert Bilibili XML/protobuf danmaku to ASS subtitle"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ linsui ]; + }; +} |