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
29
pkgs/tools/security/bmrsa/11.nix
Normal file
29
pkgs/tools/security/bmrsa/11.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bmrsa";
|
||||
version = "11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/bmrsa/bmrsa${version}.zip";
|
||||
sha256 = "0ksd9xkvm9lkvj4yl5sl0zmydp1wn3xhc55b28gj70gi4k75kcl4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir bmrsa
|
||||
cd bmrsa
|
||||
unzip ${src}
|
||||
sed -e 's/gcc/g++/' -i Makefile
|
||||
mkdir -p $out/bin
|
||||
echo -e 'install:\n\tcp bmrsa '$out'/bin' >> Makefile
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "RSA utility";
|
||||
homepage = "http://bmrsa.sourceforge.net/";
|
||||
license = licenses.gpl1;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue