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