Files
nixpkgs/pkgs/development/python-modules/laces/default.nix
2025-01-16 11:28:53 +00:00

35 lines
753 B
Nix

{
lib,
buildPythonPackage,
django,
fetchFromGitHub,
flit-core,
}:
buildPythonPackage rec {
pname = "laces";
version = "0.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "tbrlpld";
repo = "laces";
tag = "v${version}";
hash = "sha256-ELpPq7pqcLfAqUuHh8NOAOOiGPDImTFsA7WUHvVfMiI=";
};
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 ];
};
}