python311Packages.dotwiz: init at 0.4.0
This commit is contained in:
parent
1d87cbdaad
commit
71753a2f26
47
pkgs/development/python-modules/dotwiz/default.nix
Normal file
47
pkgs/development/python-modules/dotwiz/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyheck
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dotwiz";
|
||||
version = "0.4.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rnag";
|
||||
repo = "dotwiz";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ABmkwpJ40JceNJieW5bhg0gqWNrR6Wxj84nLCjKU11A=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyheck
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dotwiz"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--ignore=benchmarks"
|
||||
"--ignore-glob=*integration*"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dict subclass that supports dot access notation";
|
||||
homepage = "https://github.com/rnag/dotwiz";
|
||||
changelog = "https://github.com/rnag/dotwiz/blob/v${version}/HISTORY.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -2997,6 +2997,8 @@ self: super: with self; {
|
|||
inherit (pkgs) graphviz;
|
||||
};
|
||||
|
||||
dotwiz = callPackage ../development/python-modules/dotwiz { };
|
||||
|
||||
dotmap = callPackage ../development/python-modules/dotmap { };
|
||||
|
||||
downloader-cli = callPackage ../development/python-modules/downloader-cli { };
|
||||
|
|
Loading…
Reference in a new issue