42 lines
875 B
Nix
42 lines
875 B
Nix
|
{
|
||
|
lib,
|
||
|
buildPythonPackage,
|
||
|
fetchFromGitHub,
|
||
|
poetry-core,
|
||
|
pythonOlder,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "reflex-chakra";
|
||
|
version = "0.5.10";
|
||
|
pyproject = true;
|
||
|
|
||
|
disabled = pythonOlder "3.8";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "reflex-dev";
|
||
|
repo = "reflex-chakra";
|
||
|
rev = "refs/tags/v${version}";
|
||
|
hash = "sha256-EEU2BdkAJ3jPGMUCfXprUIGTXRbOK+uFtoWmjrBsclY=";
|
||
|
};
|
||
|
|
||
|
pythonRemoveDeps = [
|
||
|
# Circular dependency
|
||
|
"reflex"
|
||
|
];
|
||
|
|
||
|
build-system = [ poetry-core ];
|
||
|
|
||
|
# pythonImportsCheck = [ "reflex_chakra" ];
|
||
|
|
||
|
doCheck = false;
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Chakra Implementation in Reflex";
|
||
|
homepage = "https://github.com/reflex-dev/reflex-chakra";
|
||
|
changelog = "https://github.com/reflex-dev/reflex-chakra/releases/tag/v${version}";
|
||
|
license = licenses.asl20;
|
||
|
maintainers = with maintainers; [ fab ];
|
||
|
};
|
||
|
}
|