mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
python310Packages.ward: init at 0.67.0b0
This commit is contained in:
parent
eef1570cd5
commit
6d0c7f746f
65
pkgs/development/python-modules/ward/default.nix
Normal file
65
pkgs/development/python-modules/ward/default.nix
Normal file
@ -0,0 +1,65 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, click-completion
|
||||
, click-default-group
|
||||
, cucumber-tag-expressions
|
||||
, fetchFromGitHub
|
||||
, pluggy
|
||||
, poetry-core
|
||||
, pprintpp
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, rich
|
||||
, tomli
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ward";
|
||||
version = "0.67.0b0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "darrenburns";
|
||||
repo = pname;
|
||||
rev = "refs/tags/release%2F${version}";
|
||||
hash = "sha256-4dEMEEPySezgw3dIcYMl56HrhyaYlql9JvtamOn7Y8g=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"rich"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
rich
|
||||
tomli
|
||||
pprintpp
|
||||
cucumber-tag-expressions
|
||||
click-default-group
|
||||
click-completion
|
||||
pluggy
|
||||
];
|
||||
|
||||
# Fixture is missing. Looks like an issue with the import of the sample file
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ward"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Test framework for Python";
|
||||
homepage = "https://github.com/darrenburns/ward";
|
||||
changelog = "https://github.com/darrenburns/ward/releases/tag/release%2F${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -12058,6 +12058,8 @@ self: super: with self; {
|
||||
|
||||
warcio = callPackage ../development/python-modules/warcio { };
|
||||
|
||||
ward = callPackage ../development/python-modules/ward { };
|
||||
|
||||
warlock = callPackage ../development/python-modules/warlock { };
|
||||
|
||||
warrant = callPackage ../development/python-modules/warrant { };
|
||||
|
Loading…
Reference in New Issue
Block a user