Skip to content

Commit

Permalink
django-autoslug: init 1.9.9
Browse files Browse the repository at this point in the history
  • Loading branch information
hlad committed Jan 3, 2025
1 parent 80893e0 commit c2ebd7b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/development/python-modules/django-autoslug/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
pkgs,
buildPythonPackage,
django,
fetchPypi,
pythonOlder,
}:

buildPythonPackage rec {
pname = "django-autoslug";
version = "1.9.9";
format = "setuptools";

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-efiOlDPByI2NPyvsYNZcqYv/r/bAcreKpf2Z0OhKE90=";
};

propagatedBuildInputs = [ django ];

# django.core.exceptions.ImproperlyConfigured: Requested setting AUTOSLUG_SLUGIFY_FUNCTION, but settings are not configured.
doCheck = false;

# django.core.exceptions.ImproperlyConfigured: Requested setting AUTOSLUG_SLUGIFY_FUNCTION, but settings are not configured.
# pythonImportsCheck = [ "autoslug" ];

meta = with pkgs.lib; {
description = "Reusable Django library that provides an improved automatic slug field";
homepage = "https://github.com/justinmayer/django-autoslug/";
changelog = "https://github.com/justinmayer/django-autoslug/blob/v${version}/CHANGELOG.rst";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3405,6 +3405,8 @@ self: super: with self; {

django-autocomplete-light = callPackage ../development/python-modules/django-autocomplete-light { };

django-autoslug = callPackage ../development/python-modules/django-autoslug { };

django-axes = callPackage ../development/python-modules/django-axes { };

django-bootstrap3 = callPackage ../development/python-modules/django-bootstrap3 { };
Expand Down

0 comments on commit c2ebd7b

Please sign in to comment.