Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
883 B · 48 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, poetry-core, protobuf, pytestCheckHook}:
buildPythonPackage rec { pname = "biliass"; version = "1.3.7"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "yutto-dev"; repo = "biliass"; rev = "refs/tags/v${version}"; hash = "sha256-Opb4rlGe+LDJZs3F7e/NZYfuMtHEWUZeMm8VZQfEzKI="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ protobuf ];
doCheck = false; # test artifacts missing
nativeCheckInputs = [ pytestCheckHook ];
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 ]; };}