mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
Merge pull request #109530 from fabaff/base36
python3Packages.base36: init at 0.1.1
This commit is contained in:
commit
703b378e34
35
pkgs/development/python-modules/base36/default.nix
Normal file
35
pkgs/development/python-modules/base36/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user