1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 hatch-vcs, 7 testtools, 8 mock, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "fixtures"; 14 version = "4.2.4.post1"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-A0xL0d6qYKW/y2CM5T2Z6Dkr9HyRplNgWuvdagUkjy4="; 20 }; 21 22 build-system = [ 23 hatchling 24 hatch-vcs 25 ]; 26 27 optional-dependencies = { 28 streams = [ testtools ]; 29 }; 30 31 nativeCheckInputs = [ 32 mock 33 pytestCheckHook 34 ] ++ optional-dependencies.streams; 35 36 meta = { 37 description = "Reusable state for writing clean tests and more"; 38 homepage = "https://github.com/testing-cabal/fixtures"; 39 changelog = "https://github.com/testing-cabal/fixtures/blob/${version}/NEWS"; 40 license = lib.licenses.asl20; 41 }; 42}