evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / tank-utility / default.nix
blob9d195004e9845a97362d0aaad76f831495c2c5c3
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   mock,
6   pytestCheckHook,
7   pythonOlder,
8   requests,
9   responses,
10   setuptools,
11   urllib3,
14 buildPythonPackage rec {
15   pname = "tank-utility";
16   version = "1.5.0";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchFromGitHub {
22     owner = "krismolendyke";
23     repo = pname;
24     rev = "refs/tags/${version}";
25     hash = "sha256-h9y3X+FSzSFt+bd/chz+x0nocHaKZ8DvreMxAYMs8/E=";
26   };
28   nativeBuildInputs = [ setuptools ];
30   propagatedBuildInputs = [
31     requests
32     urllib3
33   ];
35   nativeCheckInputs = [
36     mock
37     pytestCheckHook
38     responses
39   ];
41   pythonImportsCheck = [ "tank_utility" ];
43   meta = with lib; {
44     description = "Library for the Tank Utility API";
45     mainProgram = "tank-utility";
46     homepage = "https://github.com/krismolendyke/tank-utility";
47     changelog = "https://github.com/krismolendyke/tank-utility/blob/${version}/HISTORY.rst";
48     license = licenses.mit;
49     maintainers = with maintainers; [ fab ];
50   };