nixpkgs-suyu/pkgs/development/python-modules/executor/default.nix

37 lines
925 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitHub, isPy27, coloredlogs, property-manager, fasteners, pytestCheckHook, mock, virtualenv }:
2019-07-23 16:58:50 +02:00
buildPythonPackage rec {
pname = "executor";
2020-11-21 13:00:11 +01:00
version = "23.2";
disabled = isPy27;
2019-07-23 16:58:50 +02:00
src = fetchFromGitHub {
owner = "xolox";
repo = "python-executor";
rev = version;
2020-11-21 13:00:11 +01:00
sha256 = "1mr0662c5l5zx0wjapcprp8p2xawfd0im3616df5sgv79fqzwfqs";
2019-07-23 16:58:50 +02:00
};
propagatedBuildInputs = [ coloredlogs property-manager fasteners ];
checkInputs = [ pytestCheckHook mock virtualenv ];
2019-07-23 16:58:50 +02:00
# ignore impure tests
disabledTests = [
"option"
"retry"
"remote"
"ssh"
"foreach"
"local_context"
"release" # meant to be ran on ubuntu to succeed
];
2019-07-23 16:58:50 +02:00
meta = with lib; {
description = "Programmer friendly subprocess wrapper";
homepage = "https://github.com/xolox/python-executor";
2019-07-23 16:58:50 +02:00
license = licenses.mit;
maintainers = with maintainers; [ eyjhb ];
};
}