Merge pull request #109530 from fabaff/base36

python3Packages.base36: init at 0.1.1
This commit is contained in:
Jörg Thalheim 2021-01-16 15:40:30 +00:00 committed by GitHub
commit 703b378e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "base36";
version = "0.1.1";
src = fetchFromGitHub {
owner = "tonyseek";
repo = "python-base36";
rev = "v${version}";
sha256 = "076nmk9s0zkmgs2zqzkaqij5cmzhf4mrhivbb9n6cvz52i1mppr5";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace "[pytest]" "[tool:pytest]" \
--replace "--pep8 --cov" ""
'';
checkInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "test_base36.py" ];
pythonImportsCheck = [ "base36" ];
meta = with lib; {
description = "Python implementation for the positional numeral system using 36 as the radix";
homepage = "https://github.com/tonyseek/python-base36";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -350,7 +350,7 @@
"hlk_sw16" = ps: with ps; [ ]; # missing inputs: hlk-sw16
"home_connect" = ps: with ps; [ aiohttp-cors ]; # missing inputs: homeconnect
"homeassistant" = ps: with ps; [ ];
"homekit" = ps: with ps; [ HAP-python pyqrcode aiohttp-cors ha-ffmpeg zeroconf ]; # missing inputs: PyTurboJPEG base36 fnvhash
"homekit" = ps: with ps; [ HAP-python pyqrcode aiohttp-cors base36 ha-ffmpeg zeroconf ]; # missing inputs: PyTurboJPEG fnvhash
"homekit_controller" = ps: with ps; [ aiohttp-cors zeroconf ]; # missing inputs: aiohomekit
"homematic" = ps: with ps; [ pyhomematic ];
"homematicip_cloud" = ps: with ps; [ ]; # missing inputs: homematicip

View File

@ -832,6 +832,8 @@ in {
baron = callPackage ../development/python-modules/baron { };
base36 = callPackage ../development/python-modules/base36 { };
base58 = callPackage ../development/python-modules/base58 { };
baselines = callPackage ../development/python-modules/baselines { };