uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
31
pkgs/development/tools/analysis/snowman/default.nix
Normal file
31
pkgs/development/tools/analysis/snowman/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, mkDerivation, fetchFromGitHub, cmake, boost, qtbase }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "snowman";
|
||||
version = "0.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yegord";
|
||||
repo = "snowman";
|
||||
rev = "v${version}";
|
||||
sha256 = "1mrmhj2nddi0d47c266vsg5vbapbqbcpj5ld4v1qcwnnk6z2zn0j";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ boost qtbase ];
|
||||
|
||||
postUnpack = ''
|
||||
export sourceRoot=$sourceRoot/src
|
||||
'';
|
||||
|
||||
meta = with 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue