about summary refs log tree commit diff
path: root/pkgs/development/python-modules/laces/default.nix
blob: 9f5c74af83295b84b29ba021cda94a6b1b8ece87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  buildPythonPackage,
  django,
  fetchFromGitHub,
  flit-core,
}:

buildPythonPackage rec {
  pname = "laces";
  version = "0.1.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tbrlpld";
    repo = "laces";
    rev = "v${version}";
    hash = "sha256-N3UUJomlihdM+6w9jmn9t10Q2meIqEOjW/rf3ZLrD78=";
  };

  nativeBuildInputs = [ flit-core ];

  propagatedBuildInputs = [ django ];

  pythonImportsCheck = [ "laces" ];

  meta = with lib; {
    description = "Django components that know how to render themselves";
    homepage = "https://github.com/tbrlpld/laces";
    changelog = "https://github.com/tbrlpld/laces/blob/${src.rev}/CHANGELOG.md";
    license = licenses.bsd3;
    maintainers = with maintainers; [ sephi ];
  };
}