3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/shellingham/default.nix
2021-07-08 11:28:06 +02:00

36 lines
707 B
Nix

{ 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 ];
};
}