kat-pkgs/python-pkgs/django-djconfig.nix

42 lines
705 B
Nix
Raw Normal View History

2024-12-10 14:47:26 +01:00
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
django,
}:
buildPythonPackage rec {
pname = "django-djconfig";
version = "0.11.0";
pyproject = true;
src = fetchFromGitHub {
owner = "nitely";
repo = "django-djconfig";
rev = "v${version}";
hash = "sha256-98aLLZSkp2bksIx+SlpRCqPsRW0S8oUg42wdAymxUbc=";
};
build-system = [
setuptools
wheel
];
dependencies = [
django
];
pythonImportsCheck = [
"djconfig"
];
meta = {
description = "Gear: Dynamic configuration made easy";
homepage = "https://github.com/nitely/django-djconfig";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
};
}