Unverified Commit 0f3ff3d1 authored by 0x4A6F's avatar 0x4A6F Committed by GitHub
Browse files

Merge pull request #218356 from figsoda/eidolon

eidolon: replace patch with Cargo.lock
parents 9dd96aae 7ed285ec
Loading
Loading
Loading
Loading
+2087 −0

File added.

Preview size limit exceeded, changes collapsed.

+0 −2726

File deleted.

Preview size limit exceeded, changes collapsed.

+7 −7
Original line number Diff line number Diff line
@@ -16,22 +16,22 @@ rustPlatform.buildRustPackage rec {
    rev = version;
    sha256 = "sha256-Ofc3i+iMmbUgY3bomUk4rM3bEQInTV3rIPz3m0yZw/o=";
  };
  cargoPatches = [ ./cargo-lock.patch ];

  cargoSha256 = "sha256-1d+Wgx6tBS1Rb8WpVrD/ja0zXdoE2Q9ZlUS/3p8OYWM=";
  cargoLock = {
    lockFile = ./Cargo.lock;
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ openssl ];

  OPENSSL_NO_VENDOR = 1;
  OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib";
  OPENSSL_INCLUDE_DIR = "${openssl.dev}/include";
  OPENSSL_DIR="${lib.getDev openssl}";
  postPatch = ''
    ln -sf ${./Cargo.lock} Cargo.lock
  '';

  meta = with lib; {
    description = "A single TUI-based registry for drm-free, wine and steam games on linux, accessed through a rofi launch menu";
    homepage = "https://github.com/nicohman/eidolon";
    license = licenses.gpl3;
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ _0x4A6F ];
    platforms = platforms.linux;
  };