fork/Slippi-Presence
git clone https://git.julia.blue/fork/Slippi-Presence
488f83e
main
1{ 2inputs = { 3utils . url = "github:numtide/flake-utils" ; 4}; 5outputs = { self , nixpkgs , utils } :utils . lib . eachDefaultSystem ( system : 6let 7pkgs = nixpkgs . legacyPackages .${ system }; 8in 9{ 10devShell = pkgs . mkShell { 11buildInputs = with pkgs ; [ 12( python3 . withPackages ( pp :[ 13pp . pypresence 14( callPackage ({ lib , buildPythonPackage , cython , fetchFromGitHub , } : 15buildPythonPackage rec { 16pname = "py-slippi" ; 17version = "1.6.2" ; 18format = "setuptools" ; 19 20src = fetchPypi { 21inherit pname version ; 22hash = "sha256-c6tJI/mPlBGIYTk5ObIQ1CUTq73HouQ2quMZVWG8FFg=" ; 23}; 24 25env . JQPY_USE_SYSTEM_LIBS = 1 ; 26nativeBuildInputs = [ cython ]; 27buildInputs = [ jq oniguruma ]; 28nativeCheckInputs = [ pytestCheckHook ]; 29})) 30])) 31]; 32}; 33} 34); 35} 36