blob: 5a648f7898f5e52f1f3c29cf0bcca851fb2b1d83 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ 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 ];
};
}
|