mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #129628 from fabaff/bump-shellingham
This commit is contained in:
commit
b9edf9d0ca
1 changed files with 21 additions and 6 deletions
|
@ -1,18 +1,33 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-mock
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "shellingham";
|
pname = "shellingham";
|
||||||
version = "1.3.2";
|
version = "1.4.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
disabled = pythonOlder "3.4";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "sarugaku";
|
||||||
sha256 = "576c1982bea0ba82fb46c36feb951319d7f42214a82634233f58b40d858a751e";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0f686ym3ywjffis5jfqkhsshjgii64060hajysczflhffrjn9jcp";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "shellingham" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool to Detect Surrounding Shell";
|
description = "Tool to detect the surrounding shell";
|
||||||
homepage = "https://github.com/sarugaku/shellingham";
|
homepage = "https://github.com/sarugaku/shellingham";
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
maintainers = with maintainers; [ mbode ];
|
maintainers = with maintainers; [ mbode ];
|
||||||
|
|
Loading…
Reference in a new issue