diff options
author | eyjhbb@gmail.com <eyjhbb@gmail.com> | 2019-07-23 16:58:50 +0200 |
---|---|---|
committer | eyjhbb@gmail.com <eyjhbb@gmail.com> | 2019-07-24 21:49:23 +0200 |
commit | b7eb5b6f7904e7c046f79b2a14e4c2ad4780b1a2 (patch) | |
tree | 4454b411aeff7f1c5ef4291d38fb750f7802bfd8 /pkgs/development/python-modules/executor | |
parent | 531422ab4a924e08f140032176df9df42b89cb97 (diff) | |
download | nixpkgs-b7eb5b6f7904e7c046f79b2a14e4c2ad4780b1a2.tar nixpkgs-b7eb5b6f7904e7c046f79b2a14e4c2ad4780b1a2.tar.gz nixpkgs-b7eb5b6f7904e7c046f79b2a14e4c2ad4780b1a2.tar.bz2 nixpkgs-b7eb5b6f7904e7c046f79b2a14e4c2ad4780b1a2.tar.lz nixpkgs-b7eb5b6f7904e7c046f79b2a14e4c2ad4780b1a2.tar.xz nixpkgs-b7eb5b6f7904e7c046f79b2a14e4c2ad4780b1a2.tar.zst nixpkgs-b7eb5b6f7904e7c046f79b2a14e4c2ad4780b1a2.zip |
pythonPackages.executor: init at 21.3
Diffstat (limited to 'pkgs/development/python-modules/executor')
-rw-r--r-- | pkgs/development/python-modules/executor/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/executor/default.nix b/pkgs/development/python-modules/executor/default.nix new file mode 100644 index 00000000000..8c71d63ef5c --- /dev/null +++ b/pkgs/development/python-modules/executor/default.nix @@ -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 ]; + }; +} |