1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 17:25:11 +00:00
nixpkgs/pkgs/development/python-modules/schema/default.nix

22 lines
496 B
Nix
Raw Normal View History

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