Skip to content

Commit

Permalink
python310Packages.django-bootstrap3: 23.1 -> 23.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored and SuperSandro2000 committed Jul 24, 2023
1 parent 416cb6c commit bb84993
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions pkgs/development/python-modules/django-bootstrap3/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, fetchFromGitHub

# build-system
, hatchling

# non-propagates
, django

# tests
, pytest-django
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "django-bootstrap3";
version = "23.1";
version = "23.4";
format = "pyproject";

src = fetchPypi {
inherit pname version;
hash = "sha256-cJW3xmqJ87rreOoCh5nr15XSlzn8hgJGBCLnwqGUrTA=";
src = fetchFromGitHub {
owner = "zostera";
repo = "django-bootstrap3";
rev = "refs/tags/v${version}";
hash = "sha256-1/JQ17GjBHH0JbY4EnHOS2B3KhEJdG2yL6O2nc1HNNc=";
};

postPatch = ''
sed -i '/beautifulsoup4/d' pyproject.toml
'';

nativeBuildInputs = [
setuptools
hatchling
];

buildInputs = [
Expand All @@ -39,7 +51,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Bootstrap 3 integration for Django";
homepage = "https://github.com/zostera/django-bootstrap3";
changelog = "https://github.com/zostera/django-bootstrap3/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/zostera/django-bootstrap3/blob/v${version}/CHANGELOG.md";
license = licenses.bsd3;
maintainers = with maintainers; [ hexa ];
};
Expand Down

0 comments on commit bb84993

Please sign in to comment.