+/config

my dotfiles and nix configuration

git clone https://git.julia.blue/+/config

Julia RyanPrepare for new Cortanaeea4f7c

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