mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
33afbf39f6
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.
20 lines
505 B
Nix
20 lines
505 B
Nix
{ lib, buildPythonPackage, fetchPypi, pytest-runner, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Cerberus";
|
|
version = "1.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytest-runner pytest ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://python-cerberus.org/";
|
|
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
|
|
license = licenses.mit;
|
|
};
|
|
}
|