nixpkgs/pkgs/development/tools/misc/objconv/default.nix

17 lines
393 B
Nix
Raw Normal View History

2015-02-08 05:12:16 +00:00
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
name = "objconv-1.0";
src = fetchFromGitHub {
owner = "vertis";
repo = "objconv";
rev = "01da9219e684360fd04011599805ee3e699bae96";
sha256 = "1by2bbrampwv0qy8vn4hhs49rykczyj7q8g373ym38da3c95bym2";
};
buildPhase = "c++ -o objconv -O2 src/*.cpp";
installPhase = "mkdir -p $out/bin && mv objconv $out/bin";
}