nixpkgs/pkgs/applications/misc/pyditz/cerberus.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
499 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pytest-runner, pytest }:
2018-11-02 08:47:44 +00:00
buildPythonPackage rec {
pname = "Cerberus";
version = "1.1";
2018-11-02 08:47:44 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5";
2018-11-02 08:47:44 +00:00
};
checkInputs = [ pytest-runner pytest ];
2018-11-02 08:47:44 +00:00
meta = with lib; {
homepage = "http://python-cerberus.org/";
2018-11-02 08:47:44 +00:00
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
license = licenses.mit;
};
}