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

21 lines
464 B
Nix
Raw Normal View History

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