1{ 2 lib, 3 stdenv, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 streamlit, 8 poetry-core, 9}: 10buildPythonPackage rec { 11 pname = "st-pages"; 12 version = "1.0.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchFromGitHub { 18 owner = "blackary"; 19 repo = "st_pages"; 20 tag = "v${version}"; 21 hash = "sha256-sJXgpRiducJVYuyvVvTZthHnIJyIRn+f9Uw/wAMfnm0="; 22 }; 23 24 nativeBuildInputs = [ 25 poetry-core 26 ]; 27 28 propagatedBuildInputs = [ 29 streamlit 30 ]; 31 32 meta = { 33 description = "An experimental version of Streamlit Multi-Page Apps"; 34 homepage = "https://github.com/blackary/st_pages"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ 37 keyzox 38 ]; 39 }; 40}