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

21 lines
464 B
Nix
Raw Normal View History

2017-09-16 14:13:29 -07:00
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "schema";
2019-10-23 23:47:48 -07:00
version = "0.7.1";
2017-09-16 14:13:29 -07:00
src = fetchPypi {
inherit pname version;
2019-10-23 23:47:48 -07:00
sha256 = "c9dc8f4624e287c7d1435f8fd758f6a0aabbb7eff442db9192cd46f0e2b6d959";
2017-09-16 14:13:29 -07:00
};
checkInputs = [ pytest ];
meta = with stdenv.lib; {
description = "Library for validating Python data structures";
homepage = https://github.com/keleshev/schema;
license = licenses.mit;
};
}