snowman: init at 2017-07-22
This commit is contained in:
parent
d4b0883ad2
commit
5543e992f1
2 changed files with 41 additions and 0 deletions
37
pkgs/development/tools/analysis/snowman/default.nix
Normal file
37
pkgs/development/tools/analysis/snowman/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, boost, qt4 ? null, qtbase ? null }:
|
||||
|
||||
# Only one qt
|
||||
assert qt4 != null -> qtbase == null;
|
||||
assert qtbase != null -> qt4 == null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "snowman-${version}";
|
||||
version = "2017-07-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yegord";
|
||||
repo = "snowman";
|
||||
rev = "6c4d9cceb56bf2fd0f650313131a2240579d1bea";
|
||||
sha256 = "1d0abh0fg637jksk7nl4yl54b4cadinj93qqvsm138zyx7h57xqf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ boost qt4 qtbase ];
|
||||
|
||||
postUnpack = ''
|
||||
export sourceRoot=$sourceRoot/src
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -7332,6 +7332,10 @@ with pkgs;
|
|||
|
||||
smc = callPackage ../tools/misc/smc { };
|
||||
|
||||
snowman_qt4 = callPackage ../development/tools/analysis/snowman { };
|
||||
snowman_qt5 = qt5.callPackage ../development/tools/analysis/snowman { qt4 = null; };
|
||||
snowman = snowman_qt5;
|
||||
|
||||
sparse = callPackage ../development/tools/analysis/sparse { };
|
||||
|
||||
speedtest-cli = callPackage ../tools/networking/speedtest-cli { };
|
||||
|
|
Loading…
Reference in a new issue