mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
pythonPackages.executor: init at 21.3
This commit is contained in:
parent
531422ab4a
commit
b7eb5b6f79
31
pkgs/development/python-modules/executor/default.nix
Normal file
31
pkgs/development/python-modules/executor/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, coloredlogs, property-manager, fasteners, pytest, mock, virtualenv }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "executor";
|
||||
version = "21.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xolox";
|
||||
repo = "python-executor";
|
||||
rev = version;
|
||||
sha256 = "0rc14vjx3d6irfaw0pczzw1pn0xjl7xikv32hc1fvxv2ibnldv5d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ coloredlogs property-manager fasteners ];
|
||||
|
||||
checkInputs = [ pytest mock virtualenv ];
|
||||
|
||||
# ignore impure tests
|
||||
checkPhase = ''
|
||||
pytest . -k "not option and not retry \
|
||||
and not remote and not ssh \
|
||||
and not foreach and not local_context"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Programmer friendly subprocess wrapper";
|
||||
homepage = https://github.com/xolox/python-executor;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ eyjhb ];
|
||||
};
|
||||
}
|
|
@ -2845,6 +2845,8 @@ in
|
|||
|
||||
execline = skawarePackages.execline;
|
||||
|
||||
executor = with python3Packages; toPythonApplication executor;
|
||||
|
||||
exif = callPackage ../tools/graphics/exif { };
|
||||
|
||||
exiftags = callPackage ../tools/graphics/exiftags { };
|
||||
|
|
|
@ -2176,6 +2176,8 @@ in {
|
|||
|
||||
execnet = callPackage ../development/python-modules/execnet { };
|
||||
|
||||
executor = callPackage ../development/python-modules/executor { };
|
||||
|
||||
ezdxf = callPackage ../development/python-modules/ezdxf {};
|
||||
|
||||
facebook-sdk = callPackage ../development/python-modules/facebook-sdk { };
|
||||
|
|
Loading…
Reference in a new issue