3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/analysis/snowman/default.nix

32 lines
737 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchFromGitHub, cmake, boost, qtbase }:
2017-07-25 15:46:55 +01:00
mkDerivation rec {
pname = "snowman";
2018-10-20 02:55:45 +01:00
version = "0.1.3";
2017-07-25 15:46:55 +01:00
src = fetchFromGitHub {
owner = "yegord";
repo = "snowman";
rev = "v${version}";
2018-10-20 02:55:45 +01:00
sha256 = "1mrmhj2nddi0d47c266vsg5vbapbqbcpj5ld4v1qcwnnk6z2zn0j";
2017-07-25 15:46:55 +01:00
};
nativeBuildInputs = [ cmake ];
2018-01-14 20:56:17 +00:00
buildInputs = [ boost qtbase ];
2017-07-25 15:46:55 +01:00
postUnpack = ''
export sourceRoot=$sourceRoot/src
'';
meta = with lib; {
2017-07-25 15:46:55 +01:00
description = "Native code to C/C++ decompiler";
homepage = "http://derevenets.com/";
# https://github.com/yegord/snowman/blob/master/doc/licenses.asciidoc
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.all;
};
}