evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / port-for / default.nix
blob535cfbd5baf810ecebff6237b75db1b104a94721
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytestCheckHook,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "port-for";
12   version = "0.7.1";
13   format = "pyproject";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "kmike";
19     repo = "port-for";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-/45TQ2crmTupRgL9hgZGw5IvFKywezSIHqHFbeAkMoo=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
27   pythonImportsCheck = [ "port_for" ];
29   meta = with lib; {
30     homepage = "https://github.com/kmike/port-for";
31     description = "Command-line utility and library that helps with TCP port managment";
32     mainProgram = "port-for";
33     changelog = "https://github.com/kmike/port-for/blob/v${version}/CHANGES.rst";
34     license = licenses.mit;
35     maintainers = with maintainers; [ bcdarwin ];
36   };