mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
Merge pull request #231115 from mweinelt/django-bootstrap4-3.0.1
python310Packages.django-bootstrap4: init at 3.0.1
This commit is contained in:
commit
9a7fda3562
@ -203,6 +203,8 @@ stdenv.mkDerivation rec {
|
||||
popd # ../autotest
|
||||
'';
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
description = "Translator library for raster geospatial data formats";
|
||||
homepage = "https://www.gdal.org/";
|
||||
|
@ -0,0 +1,57 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
, beautifulsoup4
|
||||
|
||||
# tests
|
||||
, django
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-bootstrap4";
|
||||
version = "3.0.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zostera";
|
||||
repo = "django-bootstrap4";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-5t6b/1921AMDqoYg7XC2peGxOBFE8XlvgGjHnTlQa4c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bootstrap4"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
(django.override { withGdal = true; })
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${python.interpreter} manage.py test -v1 --noinput
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bootstrap 4 integration with Django";
|
||||
homepage = "https://github.com/zostera/django-bootstrap4";
|
||||
changelog = "https://github.com/zostera/django-bootstrap4/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -2602,6 +2602,8 @@ self: super: with self; {
|
||||
|
||||
django-bootstrap3 = callPackage ../development/python-modules/django-bootstrap3 { };
|
||||
|
||||
django-bootstrap4 = callPackage ../development/python-modules/django-bootstrap4 { };
|
||||
|
||||
django-cache-url = callPackage ../development/python-modules/django-cache-url { };
|
||||
|
||||
django-cacheops = callPackage ../development/python-modules/django-cacheops { };
|
||||
|
Loading…
Reference in New Issue
Block a user