My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/dictpath/default.nix

36 lines
672 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, six
}:
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
six
];
pythonImportsCheck = [ "dictpath" ];
meta = with lib; {
description = "Object-oriented dictionary paths";
homepage = "https://github.com/p1c2u/dictpath";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}