nixpkgs/pkgs/development/python-modules/strategies/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

25 lines
586 B
Nix

{ lib, buildPythonPackage, fetchPypi
, multipledispatch, toolz
, pytest
}:
buildPythonPackage rec {
pname = "strategies";
version = "0.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "02i4ydrs9k61p8iv2vl2akks8p9gc88rw8031wlwb1zqsyjmb328";
};
propagatedBuildInputs = [ multipledispatch toolz ];
nativeCheckInputs = [ pytest ];
meta = {
description = "A Python library for control flow programming";
homepage = "https://github.com/logpy/strategies";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ suhr ];
};
}