python3Packages.pytest-unmagic: init at 1.0.0

jopejoe1 fe26703f f7be425b

Changed files
+41
pkgs
development
python-modules
pytest-unmagic
top-level
+39
pkgs/development/python-modules/pytest-unmagic/default.nix
···
+
{
+
lib,
+
buildPythonPackage,
+
fetchFromGitHub,
+
pytestCheckHook,
+
flit-core,
+
pytest,
+
}:
+
+
buildPythonPackage rec {
+
pname = "pytest-unmagic";
+
version = "1.0.0";
+
pyproject = true;
+
+
src = fetchFromGitHub {
+
owner = "dimagi";
+
repo = "pytest-unmagic";
+
tag = "v${version}";
+
hash = "sha256-5WnLjQ0RuwLBIZAbOJoQ0KBEnb7yUWTUFBKy+WgNctQ=";
+
};
+
+
build-system = [
+
flit-core
+
];
+
+
dependencies = [ pytest ];
+
+
nativeCheckInputs = [ pytestCheckHook ];
+
+
pythonImportsCheck = [ "unmagic" ];
+
+
meta = {
+
description = "Pytest fixtures with conventional import semantics";
+
homepage = "https://github.com/dimagi/pytest-unmagic";
+
license = lib.licenses.bsd3;
+
platforms = lib.platforms.unix;
+
maintainers = with lib.maintainers; [ jopejoe1 ];
+
};
+
}
+2
pkgs/top-level/python-packages.nix
···
pytest-twisted = callPackage ../development/python-modules/pytest-twisted { };
+
pytest-unmagic = callPackage ../development/python-modules/pytest-unmagic { };
+
pytest-unordered = callPackage ../development/python-modules/pytest-unordered { };
pytest-variables = callPackage ../development/python-modules/pytest-variables { };