build-bazel-package: added rm of extra local folders for toolchain configuration...
[NixPkgs.git] / pkgs / development / python-modules / command-runner / default.nix
blobce19e32b656180e70c8996754c996671bb1fed4c
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   psutil,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "command-runner";
12   version = "1.7.0";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "netinvent";
19     repo = "command_runner";
20     tag = "v${version}";
21     hash = "sha256-rdbZtqNndtIxrLA90eWzR6dB8EyFrBALduBUkOVq4oE=";
22   };
24   build-system = [ setuptools ];
26   dependencies = [ psutil ];
28   # Tests are execute ping
29   # ping: socket: Operation not permitted
30   doCheck = false;
32   pythonImportsCheck = [ "command_runner" ];
34   meta = with lib; {
35     homepage = "https://github.com/netinvent/command_runner";
36     description = ''
37       Platform agnostic command execution, timed background jobs with live
38       stdout/stderr output capture, and UAC/sudo elevation
39     '';
40     changelog = "https://github.com/netinvent/command_runner/releases/tag/v${version}";
41     license = licenses.bsd3;
42     maintainers = teams.wdz.members;
43   };