1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/analysis/snowman/default.nix

34 lines
784 B
Nix
Raw Normal View History

2018-01-14 20:56:17 +00:00
{ stdenv, fetchFromGitHub, cmake, boost, qtbase }:
2017-07-25 15:46:55 +01:00
stdenv.mkDerivation rec {
name = "snowman-${version}";
version = "0.1.2";
2017-07-25 15:46:55 +01:00
src = fetchFromGitHub {
owner = "yegord";
repo = "snowman";
rev = "v${version}";
sha256 = "1ry14n8jydg6rzl52gyn0qhmv6bvivk7iwssp89lq5qk8k183x3k";
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
'';
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;
};
}