3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #216371 from superherointj/fix-slop

slop: fix build
This commit is contained in:
Nick Cao 2023-02-15 09:56:31 +08:00 committed by GitHub
commit 0264855f9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ 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