mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
17 lines
393 B
Nix
17 lines
393 B
Nix
{ 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";
|
|
}
|