emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / fixtures / default.nix
blobca122ad9c7db6214da08a8ab033a986928bb6d89
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pbr,
6   setuptools,
7   testtools,
8   mock,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "fixtures";
14   version = "4.1.0";
15   format = "pyproject";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-grHF5p9hVSbvbAZxiKHmxgZ99/iDMlCcmfi4/buXdvM=";
20   };
22   nativeBuildInputs = [
23     pbr
24     setuptools
25   ];
27   propagatedBuildInputs = [ pbr ];
29   optional-dependencies = {
30     streams = [ testtools ];
31   };
33   nativeCheckInputs = [
34     mock
35     pytestCheckHook
36   ] ++ optional-dependencies.streams;
38   meta = {
39     description = "Reusable state for writing clean tests and more";
40     homepage = "https://pypi.org/project/fixtures/";
41     changelog = "https://github.com/testing-cabal/fixtures/blob/${version}/NEWS";
42     license = lib.licenses.asl20;
43   };