1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

Merge pull request #289713 from sephii/python-laces

This commit is contained in:
Sandro 2024-02-22 21:09:43 +01:00 committed by GitHub
commit f96df2b3c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ 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 ];
};
}

View file

@ -6254,6 +6254,8 @@ self: super: with self; {
labmath = callPackage ../development/python-modules/labmath { };
laces = callPackage ../development/python-modules/laces { };
lakeside = callPackage ../development/python-modules/lakeside { };
langchain = callPackage ../development/python-modules/langchain { };