anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / configobj / default.nix
blobecc629fe13a4e42cacb19aca9767a2b1df48e813
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   mock,
6   pytestCheckHook,
7   pythonOlder,
8   six,
9 }:
11 buildPythonPackage rec {
12   pname = "configobj";
13   version = "5.0.9";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "DiffSK";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-duPCGBaHCXp4A6ZHLnyL1SZtR7K4FJ4hs5wCE1V9WB4=";
23   };
25   propagatedBuildInputs = [ six ];
27   nativeCheckInputs = [ pytestCheckHook ];
29   checkInputs = [ mock ];
31   pythonImportsCheck = [ "configobj" ];
33   meta = with lib; {
34     description = "Config file reading, writing and validation";
35     homepage = "https://github.com/DiffSK/configobj";
36     changelog = "https://github.com/DiffSK/configobj/blob/v${version}/CHANGES.rst";
37     license = licenses.bsd3;
38     maintainers = [ ];
39   };