gerd.wger: init
This commit is contained in:
parent
80ef4fabc8
commit
2f2993ac16
16 changed files with 733 additions and 0 deletions
49
machines/gerd/services/wger/wgerpkg/django-sortedm2m.nix
Normal file
49
machines/gerd/services/wger/wgerpkg/django-sortedm2m.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
wheel,
|
||||
coverage,
|
||||
isort,
|
||||
pycodestyle,
|
||||
pylint-django,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-sortedm2m";
|
||||
version = "4.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jazzband";
|
||||
repo = "django-sortedm2m";
|
||||
rev = version;
|
||||
hash = "sha256-Jr3C6teU4On2PiJJV9vW4EEPEuknNCZRVMDMmrs6VY8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
coverage
|
||||
isort
|
||||
pycodestyle
|
||||
pylint-django
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
# "django_sortedm2m"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A transparent sorted ManyToMany field for django";
|
||||
homepage = "https://github.com/jazzband/django-sortedm2m";
|
||||
changelog = "https://github.com/jazzband/django-sortedm2m/blob/${src.rev}/CHANGES.rst";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue