summary refs log tree commit diff
path: root/pkgs/development/python-modules/schema/default.nix
blob: 6afa594437212b9c708d39375f074803695489d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, buildPythonPackage, fetchPypi, pytest }:

buildPythonPackage rec {

  pname = "schema";
  version = "0.7.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c9dc8f4624e287c7d1435f8fd758f6a0aabbb7eff442db9192cd46f0e2b6d959";
  };

  checkInputs = [ pytest ];

  meta = with stdenv.lib; {
    description = "Library for validating Python data structures";
    homepage = https://github.com/keleshev/schema;
    license = licenses.mit;
  };
}