summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ush/default.nix
blob: 9989eec1f27158daa157d1edc1d30cf4d51b8085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  six,
  setuptools,
}:

buildPythonPackage rec {
  pname = "ush";
  version = "4.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tarruda";
    repo = "python-ush";
    rev = version;
    hash = "sha256-a6ICbd8647DRtuHl2vs64bsChUjlpuWHV1ipBdFA600=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "ush" ];

  nativeCheckInputs = [
    pytestCheckHook
    six
  ];

  disabledTestPaths = [
    # seems to be outdated?
    "tests/test_glob.py"
  ];

  meta = {
    description = "Powerful API for invoking with external commands";
    homepage = "https://github.com/tarruda/python-ush";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}