1 { lib, buildPythonPackage, fetchFromGitHub
2 , setuptools_scm, pytest, cmake
5 buildPythonPackage rec {
6 pname = "pytest-datadir";
10 src = fetchFromGitHub {
14 sha256 = "0kwgp6sqnqnmww5r0dkmyfpi0lmw0iwxz3fnwn2fs8w6bvixzznf";
17 nativeBuildInputs = [ setuptools_scm ];
20 export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
23 checkInputs = [ pytest ];
24 checkPhase = "pytest";
27 homepage = "https://github.com/gabrielcnr/pytest-datadir";
28 description = "pytest plugin for manipulating test data directories and files";
29 license = licenses.mit;
30 maintainers = with maintainers; [ metadark ];