tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.shellescape: init at 3.8.1
Dmitry Kalinkin
4 years ago
81e3df35
ee63a081
+29
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
shellescape
default.nix
top-level
python-packages.nix
+27
pkgs/development/python-modules/shellescape/default.nix
···
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchFromGitHub
4
4
+
, pytestCheckHook
5
5
+
}:
6
6
+
7
7
+
buildPythonPackage rec {
8
8
+
pname = "shellescape";
9
9
+
version = "3.8.1";
10
10
+
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "chrissimpkins";
13
13
+
repo = "shellescape";
14
14
+
rev = "v${version}";
15
15
+
hash = "sha256-HAe3Qf3lLeVWw/tVkW0J+CfoxSoOnCcWDR2nEWZn7HM=";
16
16
+
};
17
17
+
18
18
+
checkInputs = [ pytestCheckHook ];
19
19
+
pythonImportsCheck = [ "shellescape" ];
20
20
+
21
21
+
meta = with lib; {
22
22
+
description = "Shell escape a string to safely use it as a token in a shell command (backport of Python shlex.quote)";
23
23
+
homepage = "https://github.com/chrissimpkins/shellescape";
24
24
+
license = with licenses; [ mit psfl ];
25
25
+
maintainers = with maintainers; [ veprbl ];
26
26
+
};
27
27
+
}
+2
pkgs/top-level/python-packages.nix
···
7938
7938
7939
7939
sh = callPackage ../development/python-modules/sh { };
7940
7940
7941
7941
+
shellescape = callPackage ../development/python-modules/shellescape { };
7942
7942
+
7941
7943
shellingham = callPackage ../development/python-modules/shellingham { };
7942
7944
7943
7945
shiboken2 = toPythonModule (callPackage ../development/python-modules/shiboken2 {