1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/cerberus/default.nix
2019-06-15 08:44:04 +02:00

20 lines
519 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pytestrunner, pytest }:
buildPythonPackage rec {
pname = "Cerberus";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "0be48fc0dc84f83202a5309c0aa17cd5393e70731a1698a50d118b762fbe6875";
};
checkInputs = [ pytestrunner pytest ];
meta = with stdenv.lib; {
homepage = http://python-cerberus.org/;
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
license = licenses.mit;
};
}