Unverified Commit 0264855f authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #216371 from superherointj/fix-slop

slop: fix build
parents e8612e8a dbed3a07
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, pkg-config
, glew
@@ -25,6 +26,15 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-LdBQxw8K8WWSfm4E2QpK4GYTuYvI+FX5gLOouVFSU/U=";
  };

  patches = [
    (fetchpatch {
      # From Upstream PR#135: https://github.com/naelstrof/slop/pull/135
      name = "Fix-linking-of-GLEW-library.patch";
      url = "https://github.com/naelstrof/slop/commit/811b7e44648b9dd6c1da1554e70298cf4157e5fe.patch";
      sha256 = "sha256-LNUrAeVZUJFNOt1csOaIid7gLBdtqRxp8AcC7f3cnIQ=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config