about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/xi/xib2nib/package.nix
blob: 56f1e2878343447c11d8696a3cab9ec88f2b2c8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, stdenv
, fetchFromGitHub
, boost
, plistcpp
, pugixml
}:

stdenv.mkDerivation {
  pname = "xib2nib";
  version = "0-unstable-2017-04-12";

  src = fetchFromGitHub {
    owner = "matthewbauer";
    repo = "xib2nib";
    rev = "97c6a53aab83d919805efcae33cf80690e953d1e";
    hash = "sha256-GMf/XQYYCzuX1rcU3l7bTxhGlCnZliHtZCqf14kThCA=";
  };

  buildInputs = [
    boost
    plistcpp
    pugixml
  ];

  makeFlags = [
    "PREFIX=$(out)"
  ];

  meta = with lib; {
    maintainers = with maintainers; [ matthewbauer ];
    description = "Compiles CocoaTouch .xib files into .nib";
    license = licenses.mit;
    platforms = platforms.unix;
  };
}