git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.executor: init at 21.3
commitb7eb5b6f7904e7c046f79b2a14e4c2ad4780b1a2 authoreyjhbb@gmail.com <eyjhbb@gmail.com> dateTue 23 Jul 2019, 16:58 (7 years ago) parent531422a
3 files changed+35
pkgs/development/python-modules/executor/default.nix+31 pkgs/top-level/all-packages.nix+2 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/executor/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib, buildPythonPackage, fetchFromGitHub, coloredlogs, property-manager, fasteners, pytest, mock, virtualenv }:
2+
3+buildPythonPackage rec {
4+ pname = "executor";
5+ version = "21.3";
6+
7+ src = fetchFromGitHub {
8+ owner = "xolox";
9+ repo = "python-executor";
10+ rev = version;
11+ sha256 = "0rc14vjx3d6irfaw0pczzw1pn0xjl7xikv32hc1fvxv2ibnldv5d";
12+ };
13+
14+ propagatedBuildInputs = [ coloredlogs property-manager fasteners ];
15+
16+ checkInputs = [ pytest mock virtualenv ];
17+
18+ # ignore impure tests
19+ checkPhase = ''
20+ pytest . -k "not option and not retry \
21+ and not remote and not ssh \
22+ and not foreach and not local_context"
23+ '';
24+
25+ meta = with lib; {
26+ description = "Programmer friendly subprocess wrapper";
27+ homepage = https://github.com/xolox/python-executor;
28+ license = licenses.mit;
29+ maintainers = with maintainers; [ eyjhb ];
30+ };
31+}
pkgs/top-level/all-packages.nix+2
@@ -2845,6 +2845,8 @@ in
28452845
28462846 execline = skawarePackages.execline;
28472847
2848+ executor = with python3Packages; toPythonApplication executor;
2849+
28482850 exif = callPackage ../tools/graphics/exif { };
28492851
28502852 exiftags = callPackage ../tools/graphics/exiftags { };
pkgs/top-level/python-packages.nix+2
@@ -2176,6 +2176,8 @@ in {
21762176
21772177 execnet = callPackage ../development/python-modules/execnet { };
21782178
2179+ executor = callPackage ../development/python-modules/executor { };
2180+
21792181 ezdxf = callPackage ../development/python-modules/ezdxf {};
21802182
21812183 facebook-sdk = callPackage ../development/python-modules/facebook-sdk { };