depot/nix/pkgs/django-tailwind.nix

23 lines
585 B
Nix

{ lib, buildPythonPackage, fetchPypi, django, poetry, cookiecutter }:
buildPythonPackage rec {
pname = "django-tailwind";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256:187alssasfmnbq1rdhgs8np1j494mcgndxx7cw3lyyzqmkrsn0c2";
};
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [ django cookiecutter ];
format = "pyproject";
doCheck = false;
meta = with lib; {
description = "Integration of Tailwind CSS with Django";
homepage = "https://github.com/timonweb/django-tailwind";
license = licenses.mit;
};
}