forked from fediversity/fediversity
- hide password input, closes #520 - allow empty password input, closes #521 Reviewed-on: Fediversity/Fediversity#522
42 lines
721 B
Nix
42 lines
721 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
django,
|
|
pydantic,
|
|
hatchling,
|
|
djangorestframework,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
_class = "package";
|
|
|
|
pname = "drf-pydantic";
|
|
version = "v2.9.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KiaraGrouwstra";
|
|
repo = pname;
|
|
rev = "d21c879543bd106242bd7f86e79da1f668109579";
|
|
hash = "sha256-pk0/6BphIiXxR3cewBJ5nKii3kj3lDHLO9U9xqXDxI8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
hatchling
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
django
|
|
pydantic
|
|
djangorestframework
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "";
|
|
homepage = "https://github.com/${src.owner}/${pname}";
|
|
license = licenses.mit;
|
|
};
|
|
}
|