libobjc2: pname, cmake as nativeBuildInput

This commit is contained in:
Will Dietz 2019-04-26 17:44:21 -05:00
parent 0ecfae7c0f
commit 74273c47ef

View file

@ -1,11 +1,8 @@
{ stdenv, lib, fetchFromGitHub, cmake }: { stdenv, lib, fetchFromGitHub, cmake }:
let
version = "1.9";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libobjc2-${version}"; pname = "libobjc2";
version = "1.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gnustep"; owner = "gnustep";
@ -14,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "00pscl3ly3rv6alf9vk70kxnnxq2rfgpc1ylcv6cgjs9jxdnrqmn"; sha256 = "00pscl3ly3rv6alf9vk70kxnnxq2rfgpc1ylcv6cgjs9jxdnrqmn";
}; };
buildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ]; cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];