mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-01 13:29:13 +03:00
python3Packages.biliass: 1.3.5 -> 1.3.7
This commit is contained in:
parent
c52f23e4df
commit
4380cb7c55
1 changed files with 28 additions and 8 deletions
|
@ -1,23 +1,43 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, poetry-core
|
||||||
, protobuf
|
, protobuf
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "biliass";
|
pname = "biliass";
|
||||||
version = "1.3.5";
|
version = "1.3.7";
|
||||||
disabled = pythonOlder "3.6";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = pythonOlder "3.7";
|
||||||
inherit pname version;
|
|
||||||
sha256 = "sha256-kgoQUX2l5YENEozcnfluwvcAO1ZSxlfHPVIa9ABW6IU=";
|
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; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/yutto-dev/biliass";
|
homepage = "https://github.com/yutto-dev/biliass";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue