depot/nix/pkgs/django-tailwind.nix

24 lines
585 B
Nix
Raw Normal View History

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