+/config
my dotfiles and nix configuration
git clone https://git.julia.blue/+/config
eea4f7c
main
1{ rustPlatform , fetchFromGitHub , pkg-config , zstd } : 2rustPlatform . buildRustPackage rec { 3pname = "peppi-slp" ; 4version = "0.6.0" ; 5 6src = fetchFromGitHub { 7owner = "hohav" ; 8repo = "peppi-slp" ; 9rev = "v ${ version } " ; 10hash = "sha256-knJpnUPR8oWrNH0H/Uod4Zm4pQ3u/KR5lQPGakGyLws=" ; 11}; 12 13cargoLock = { 14lockFile = ./Cargo.lock ; 15}; 16 17postPatch = '' 18ln -s ${ ./Cargo.lock } Cargo.lock 19'' ; 20 21nativeBuildInputs = [ 22pkg-config 23]; 24 25buildInputs = [ 26zstd 27]; 28 29env = { 30ZSTD_SYS_USE_PKG_CONFIG = true ; 31}; 32 33meta = { 34description = "Inspector & converter for Slippi replays" ; 35homepage = "https://github.com/hohav/peppi-slp" ; 36mainProgram = "slp" ; 37}; 38}