nixpkgs/pkgs/development/python-modules/schema/default.nix

22 lines
496 B
Nix
Raw Normal View History

2017-09-16 21:13:29 +00:00
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "schema";
2018-01-20 10:59:46 +00:00
version = "0.6.7";
2017-09-16 21:13:29 +00:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-01-20 10:59:46 +00:00
sha256 = "410f44cb025384959d20deef00b4e1595397fa30959947a4f0d92e9c84616f35";
2017-09-16 21:13:29 +00:00
};
checkInputs = [ pytest ];
meta = with stdenv.lib; {
description = "Library for validating Python data structures";
homepage = https://github.com/keleshev/schema;
license = licenses.mit;
};
}