pythonPackages.dictpath: init at 0.1.3

This commit is contained in:
Robert Schütz 2021-06-21 14:14:44 +02:00 committed by Martin Weinelt
parent 1125e98139
commit b1df0d8452
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dictpath";
version = "0.1.3";
src = fetchFromGitHub {
owner = "p1c2u";
repo = "dictpath";
rev = version;
sha256 = "0314i8wky2z83a66zggc53m8qa1rjgkrznrl2ixsgiq0prcn6v16";
};
postPatch = ''
sed -i "/^addopts/d" setup.cfg
'';
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "dictpath" ];
meta = with lib; {
description = "Object-oriented dictionary paths";
homepage = "https://github.com/p1c2u/dictpath";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -1909,6 +1909,8 @@ in {
dictionaries = callPackage ../development/python-modules/dictionaries { };
dictpath = callPackage ../development/python-modules/dictpath { };
dicttoxml = callPackage ../development/python-modules/dicttoxml { };
diff_cover = callPackage ../development/python-modules/diff_cover { };