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
21
pkgs/applications/emulators/resim/default.nix
Normal file
21
pkgs/applications/emulators/resim/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ fetchFromGitHub, lib, stdenv, cmake, qt4 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "resim";
|
||||
version = "unstable-2016-11-11";
|
||||
src = fetchFromGitHub {
|
||||
owner = "itszor";
|
||||
repo = "resim";
|
||||
rev = "cdc7808ceb7ba4ac00d0d08ca646b58615059150";
|
||||
sha256 = "1743lngqxd7ai4k6cd4d1cf9h60z2pnvr2iynfs1zlpcj3w1hx0c";
|
||||
};
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ qt4 ];
|
||||
installPhase = ''
|
||||
mkdir -pv $out/{lib,bin}
|
||||
cp -v libresim/libarmsim.so $out/lib/libarmsim.so
|
||||
cp -v vc4emul/vc4emul $out/bin/vc4emul
|
||||
'';
|
||||
|
||||
meta.license = lib.licenses.mit;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue