mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Merge pull request #257440 from paveloom/mobi
python3Packages.mobi: init at 0.3.3
This commit is contained in:
commit
86346a0b58
44
pkgs/development/python-modules/mobi/default.nix
Normal file
44
pkgs/development/python-modules/mobi/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
|
||||
, loguru
|
||||
, poetry-core
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mobi";
|
||||
version = "0.3.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iscc";
|
||||
repo = "mobi";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-g1L72MkJdrKQRsEdew+Qsn8LfCn8+cmj2pmY6s4nv2U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
loguru
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mobi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for unpacking unencrypted mobi files";
|
||||
homepage = "https://github.com/iscc/mobi";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ paveloom ];
|
||||
};
|
||||
}
|
@ -6824,6 +6824,8 @@ self: super: with self; {
|
||||
|
||||
moat-ble = callPackage ../development/python-modules/moat-ble { };
|
||||
|
||||
mobi = callPackage ../development/python-modules/mobi { };
|
||||
|
||||
mobly = callPackage ../development/python-modules/mobly { };
|
||||
|
||||
mocket = callPackage ../development/python-modules/mocket { };
|
||||
|
Loading…
Reference in New Issue
Block a user