python3Packages.djangorestframework-dataclasses: 1.1.1 -> 1.2.0

This commit is contained in:
Martin Weinelt 2022-12-30 20:13:06 +01:00
parent 1104c3bda5
commit 2d7acf7ea7

View File

@ -2,19 +2,25 @@
, buildPythonPackage
, fetchFromGitHub
, djangorestframework
, setuptools
}:
buildPythonPackage rec {
pname = "djangorestframework-dataclasses";
version = "1.1.1";
version = "1.2.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "oxan";
repo = "djangorestframework-dataclasses";
rev = "v${version}";
sha256 = "sha256-wXgA/4Dik6yG0nKl9GbrHgb2lhrPsgS23+cEyaD9MRY=";
rev = "refs/tags/v${version}";
sha256 = "sha256-PTX5huYdusPV6xCBW+8sFwusuPtZBH1vVApvcQU7Dlc=";
};
nativeBuildInputs = [
setuptools
];
postPatch = ''
patchShebangs manage.py
'';