Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 60 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, buildPythonPackage, fetchFromGitHub,
# build-system poetry-core,
# propagates django, scim2-filter-parser,
# tests mock, pytest-django, pytestCheckHook,}:
buildPythonPackage rec { pname = "django-scim2"; version = "0.19.0"; pyproject = true;
src = fetchFromGitHub { owner = "15five"; repo = "django-scim2"; tag = version; hash = "sha256-larDh4f9/xVr11/n/WfkJ2Tx45DMQqyK3ZzkWAvzeig="; };
# remove this when upstream releases a new version > 0.19.0 postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "poetry>=0.12" "poetry-core>=1.5.2" \ --replace-fail "poetry.masonry.api" "poetry.core.masonry.api" '';
build-system = [ poetry-core ];
dependencies = [ django scim2-filter-parser ];
pythonImportsCheck = [ "django_scim" ];
nativeCheckInputs = [ mock pytest-django pytestCheckHook ];
meta = with lib; { changelog = "https://github.com/15five/django-scim2/blob/${src.rev}/CHANGES.txt"; description = "SCIM 2.0 Service Provider Implementation (for Django)"; homepage = "https://github.com/15five/django-scim2"; license = licenses.mit; maintainers = with maintainers; [ s1341 ]; };}