nixpkgs/pkgs/desktops/gnustep/libobjc2/default.nix

30 lines
670 B
Nix
Raw Normal View History

2016-07-15 19:04:41 +01:00
{ stdenv, lib, fetchFromGitHub, cmake }:
let
version = "1.9";
in
2016-07-15 19:04:41 +01:00
stdenv.mkDerivation rec {
name = "libobjc2-${version}";
2016-07-15 19:04:41 +01:00
src = fetchFromGitHub {
owner = "gnustep";
repo = "libobjc2";
rev = "v${version}";
sha256 = "00pscl3ly3rv6alf9vk70kxnnxq2rfgpc1ylcv6cgjs9jxdnrqmn";
};
2016-07-15 19:04:41 +01:00
buildInputs = [ cmake ];
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
2016-07-15 19:04:41 +01:00
meta = with lib; {
description = "Objective-C runtime for use with GNUstep";
homepage = http://gnustep.org/;
2016-07-15 19:04:41 +01:00
license = licenses.mit;
maintainers = with maintainers; [ ashalkhakov matthewbauer ];
platforms = platforms.unix;
badPlatforms = [ "aarch64-linux" ];
};
}