2017-09-16 22:13:29 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
|
|
|
pname = "schema";
|
2018-06-21 06:37:18 +01:00
|
|
|
version = "0.6.8";
|
2017-09-16 22:13:29 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-21 06:37:18 +01:00
|
|
|
sha256 = "fa1a53fe5f3b6929725a4e81688c250f46838e25d8c1885a10a590c8c01a7b74";
|
2017-09-16 22:13:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library for validating Python data structures";
|
|
|
|
homepage = https://github.com/keleshev/schema;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|