evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / entry-points-txt / default.nix
blob84dd8ffb1548ddb7fbadc94adc0aec73664fe109
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pytest-cov-stub,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "entry-points-txt";
13   version = "0.2.0";
14   format = "pyproject";
16   disabled = pythonOlder "3.6";
18   src = fetchFromGitHub {
19     owner = "jwodder";
20     repo = pname;
21     rev = "v${version}";
22     hash = "sha256-klFSt3Od7xYgenpMP4DBFoZeQanGrmtJxDm5qeZ1Psc=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   nativeCheckInputs = [
28     pytestCheckHook
29     pytest-cov-stub
30   ];
32   pythonImportsCheck = [ "entry_points_txt" ];
34   meta = with lib; {
35     description = "Read & write entry_points.txt files";
36     homepage = "https://github.com/jwodder/entry-points-txt";
37     license = with licenses; [ mit ];
38     maintainers = with maintainers; [ ayazhafiz ];
39   };