Add copier and deps

This commit is contained in:
Greg Hellings
2022-10-15 00:30:53 -05:00
parent b9ee9dfbad
commit 8ddad3e1eb
10 changed files with 215 additions and 18 deletions
+33
View File
@@ -0,0 +1,33 @@
{ lib, buildPythonPackage, fetchPypi, pkgs,
typing-extensions
}:
let
pydeps = [
typing-extensions
];
in buildPythonPackage rec {
pname = "pydantic";
version = "1.10.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kbjiGIUu9gB8K5jNhhYBxqCfGqMru7dPq1scM9Sh5BA=";
};
meta = with lib; {
description = "Data validation and settings management using Python type hints.";
homepage = "https://github.com/pydantic/pydantic";
license = licenses.mit;
maintainers = [];
};
doCheck = false;
propagatedBuildInputs = pydeps;
buildInputs = [];
nativeBuildInputs = with pkgs; [
];
}