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

29 lines
632 B
Nix
Raw Normal View History

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