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