1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
37 lines
773 B
Nix
37 lines
773 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
django,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-multiselectfield";
|
|
version = "1.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "django_multiselectfield";
|
|
inherit version;
|
|
hash = "sha256-P4tP/z4H1Kkci7S4Cbw1yusitBdptgb0ye3FO41ypmc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ django ];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "multiselectfield" ];
|
|
|
|
meta = {
|
|
description = "Multiple Choice model field for Django";
|
|
homepage = "https://github.com/goinnn/django-multiselectfield";
|
|
changelog = "https://github.com/goinnn/django-multiselectfield/blob/master/CHANGES.rst";
|
|
license = lib.licenses.lgpl3Plus;
|
|
maintainers = [ ];
|
|
};
|
|
}
|