Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 47 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, djangorestframework, pytest-django, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "djangorestframework-dataclasses"; version = "1.4.0"; pyproject = true;
src = fetchFromGitHub { owner = "oxan"; repo = "djangorestframework-dataclasses"; tag = "v${version}"; hash = "sha256-nUkR5xTyeBv7ziJ6Mej9TKvMOa5/k+ELBqt4BVam/wk="; };
postPatch = '' patchShebangs manage.py '';
build-system = [ setuptools ];
dependencies = [ djangorestframework ];
nativeCheckInputs = [ pytest-django pytestCheckHook ];
env.DJANGO_SETTINGS_MODULE = "tests.django_settings";
pythonImportsCheck = [ "rest_framework_dataclasses" ];
meta = { changelog = "https://github.com/oxan/djangorestframework-dataclasses/blob/${src.tag}/CHANGELOG.rst"; description = "Dataclasses serializer for Django REST framework"; homepage = "https://github.com/oxan/djangorestframework-dataclasses"; license = lib.licenses.bsd3; maintainers = [ ]; };}