at 18.09-beta 33 lines 784 B view raw
1{ stdenv, fetchFromGitHub, cmake, boost, qtbase }: 2 3stdenv.mkDerivation rec { 4 name = "snowman-${version}"; 5 version = "0.1.2"; 6 7 src = fetchFromGitHub { 8 owner = "yegord"; 9 repo = "snowman"; 10 rev = "v${version}"; 11 sha256 = "1ry14n8jydg6rzl52gyn0qhmv6bvivk7iwssp89lq5qk8k183x3k"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 buildInputs = [ boost qtbase ]; 17 18 postUnpack = '' 19 export sourceRoot=$sourceRoot/src 20 ''; 21 22 enableParallelBuilding = true; 23 24 meta = with stdenv.lib; { 25 description = "Native code to C/C++ decompiler"; 26 homepage = "http://derevenets.com/"; 27 28 # https://github.com/yegord/snowman/blob/master/doc/licenses.asciidoc 29 license = licenses.gpl3Plus; 30 maintainers = with maintainers; [ dtzWill ]; 31 platforms = platforms.all; 32 }; 33}