python3Packages.biliass: 1.3.5 -> 1.3.7

This commit is contained in:
Martin Weinelt 2022-12-30 20:12:58 +01:00
parent c52f23e4df
commit 4380cb7c55

View file

@ -1,23 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pythonOlder
, poetry-core
, protobuf
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "biliass";
version = "1.3.5";
disabled = pythonOlder "3.6";
version = "1.3.7";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kgoQUX2l5YENEozcnfluwvcAO1ZSxlfHPVIa9ABW6IU=";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "yutto-dev";
repo = "biliass";
rev = "refs/tags/v${version}";
hash = "sha256-Opb4rlGe+LDJZs3F7e/NZYfuMtHEWUZeMm8VZQfEzKI=";
};
propagatedBuildInputs = [ protobuf ];
nativeBuildInputs = [
poetry-core
];
pythonImportsCheck = [ "biliass" ];
propagatedBuildInputs = [
protobuf
];
doCheck = false; # test artifacts missing
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"biliass"
];
meta = with lib; {
homepage = "https://github.com/yutto-dev/biliass";