mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
29 lines
608 B
Nix
29 lines
608 B
Nix
{ 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 ];
|
|
};
|
|
}
|