1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

objconv: 1.0 -> 2.16 (#16538)

This commit is contained in:
Rahul Gopinath 2016-06-26 18:57:45 -07:00 committed by Franz Pletz
parent e45ed9e780
commit cae58e3d26

View file

@ -1,16 +1,25 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
name = "objconv-1.0";
stdenv.mkDerivation rec {
name = "objconv-${version}";
version = "2.16";
src = fetchFromGitHub {
owner = "vertis";
repo = "objconv";
rev = "01da9219e684360fd04011599805ee3e699bae96";
rev = "${version}";
sha256 = "1by2bbrampwv0qy8vn4hhs49rykczyj7q8g373ym38da3c95bym2";
};
buildPhase = "c++ -o objconv -O2 src/*.cpp";
installPhase = "mkdir -p $out/bin && mv objconv $out/bin";
meta = with stdenv.lib; {
description = "Used for converting object files between COFF/PE, OMF, ELF and Mach-O formats for all 32-bit and 64-bit x86 platforms.";
homepage = http://www.agner.org/optimize/;
license = licenses.gpl2;
maintainers = with maintainers; [ vrthra ];
};
}