depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-parallel/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

41 lines
839 B
Nix

{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
# build inputs
, tblib
, pytest
, py
}:
let
pname = "pytest-parallel";
version = "0.1.1";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "kevlened";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-ddpoWBTf7Zor569p6uOMjHSTx3Qa551f4mSwyTLDdBU=";
};
propagatedBuildInputs = [
tblib
pytest
py
];
meta = with lib; {
description = "A pytest plugin for parallel and concurrent testing";
homepage = "https://github.com/kevlened/pytest-parallelt";
changelog = "https://github.com/kevlened/pytest-parallel/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ happysalada ];
};
}