c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
38 lines
768 B
Nix
38 lines
768 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, django
|
|
, fetchFromGitHub
|
|
, flit-core
|
|
, python3
|
|
}:
|
|
|
|
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 ];
|
|
};
|
|
}
|