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

22 lines
496 B
Nix
Raw Normal View History

2017-09-16 23:13:29 +02:00
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "schema";
2018-01-20 11:59:46 +01:00
version = "0.6.7";
2017-09-16 23:13:29 +02:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-01-20 11:59:46 +01:00
sha256 = "410f44cb025384959d20deef00b4e1595397fa30959947a4f0d92e9c84616f35";
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;
};
}