about summary refs log tree commit diff
path: root/pkgs/by-name/xi/xib2nib/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/xi/xib2nib/package.nix')
-rw-r--r--pkgs/by-name/xi/xib2nib/package.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/by-name/xi/xib2nib/package.nix b/pkgs/by-name/xi/xib2nib/package.nix
new file mode 100644
index 000000000000..56f1e2878343
--- /dev/null
+++ b/pkgs/by-name/xi/xib2nib/package.nix
@@ -0,0 +1,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;
+  };
+}