1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +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-06-21 06:37:18 +01:00
version = "0.6.8";
2017-09-16 22:13:29 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-06-21 06:37:18 +01:00
sha256 = "fa1a53fe5f3b6929725a4e81688c250f46838e25d8c1885a10a590c8c01a7b74";
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;
};
}