blob: 1d1a1fc46bddad70c511724a86dd07806218340c (
plain) (
blame)
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "shellingham";
version = "1.4.0";
format = "pyproject";
disabled = pythonOlder "3.4";
src = fetchFromGitHub {
owner = "sarugaku";
repo = pname;
rev = version;
sha256 = "0f686ym3ywjffis5jfqkhsshjgii64060hajysczflhffrjn9jcp";
};
checkInputs = [
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "shellingham" ];
meta = with lib; {
description = "Tool to detect the surrounding shell";
homepage = "https://github.com/sarugaku/shellingham";
license = licenses.isc;
maintainers = with maintainers; [ mbode ];
};
}
|