Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dataproperty / default.nix
blob539c3324204e7ce469ae7ab94fa13ad7c720db85
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , loguru
5 , mbstrdecoder
6 , pytestCheckHook
7 , pythonOlder
8 , tcolorpy
9 , termcolor
10 , typepy
13 buildPythonPackage rec {
14   pname = "dataproperty";
15   version = "1.0.1";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "thombashi";
22     repo = pname;
23     rev = "refs/tags/v${version}";
24     hash = "sha256-adUxUU9eASkC9n5ppZYNN0MP19u4xcL8XziBWSCp2L8=";
25   };
27   propagatedBuildInputs = [
28     mbstrdecoder
29     typepy
30     tcolorpy
31   ] ++ typepy.optional-dependencies.datetime;
33   passthru.optional-dependencies = {
34     logging = [
35       loguru
36     ];
37   };
39   nativeCheckInputs = [
40     pytestCheckHook
41     termcolor
42   ];
44   pythonImportsCheck = [
45     "dataproperty"
46   ];
48   meta = with lib; {
49     description = "Library for extracting properties from data";
50     homepage = "https://github.com/thombashi/dataproperty";
51     changelog = "https://github.com/thombashi/DataProperty/releases/tag/v${version}";
52     license = licenses.mit;
53     maintainers = with maintainers; [ genericnerdyusername ];
54   };