1{
2 lib,
3 buildPythonPackage,
4 django,
5 fetchFromGitHub,
6 flit-core,
7 python3,
8}:
9
10buildPythonPackage rec {
11 pname = "laces";
12 version = "0.1.1";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "tbrlpld";
17 repo = "laces";
18 rev = "v${version}";
19 hash = "sha256-N3UUJomlihdM+6w9jmn9t10Q2meIqEOjW/rf3ZLrD78=";
20 };
21
22 nativeBuildInputs = [ flit-core ];
23
24 propagatedBuildInputs = [ django ];
25
26 pythonImportsCheck = [ "laces" ];
27
28 meta = with lib; {
29 description = "Django components that know how to render themselves";
30 homepage = "https://github.com/tbrlpld/laces";
31 changelog = "https://github.com/tbrlpld/laces/blob/${src.rev}/CHANGELOG.md";
32 license = licenses.bsd3;
33 maintainers = with maintainers; [ sephi ];
34 };
35}