pythonPackages.shellescape: init at 3.8.1
This commit is contained in:
parent
ee63a081ba
commit
81e3df355a
27
pkgs/development/python-modules/shellescape/default.nix
Normal file
27
pkgs/development/python-modules/shellescape/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "shellescape";
|
||||
version = "3.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chrissimpkins";
|
||||
repo = "shellescape";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-HAe3Qf3lLeVWw/tVkW0J+CfoxSoOnCcWDR2nEWZn7HM=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [ "shellescape" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Shell escape a string to safely use it as a token in a shell command (backport of Python shlex.quote)";
|
||||
homepage = "https://github.com/chrissimpkins/shellescape";
|
||||
license = with licenses; [ mit psfl ];
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
|
@ -7938,6 +7938,8 @@ in {
|
|||
|
||||
sh = callPackage ../development/python-modules/sh { };
|
||||
|
||||
shellescape = callPackage ../development/python-modules/shellescape { };
|
||||
|
||||
shellingham = callPackage ../development/python-modules/shellingham { };
|
||||
|
||||
shiboken2 = toPythonModule (callPackage ../development/python-modules/shiboken2 {
|
||||
|
|
Loading…
Reference in a new issue