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
36
pkgs/misc/scimark/default.nix
Normal file
36
pkgs/misc/scimark/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, unzip
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "scimark";
|
||||
version = "4c";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://math.nist.gov/scimark2/${pname}${version}.zip";
|
||||
hash = "sha256-kcg5vKYp0B7+bC/CmFMO/tMwxf9q6nvuFv0vRSy3MbE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
unzip
|
||||
];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/bin/
|
||||
install scimark4 $out/bin/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://math.nist.gov/scimark2/index.html";
|
||||
description = "Scientific and numerical computing benchmark (ANSI C version)";
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
mainProgram = "scimark4";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
# TODO [ AndersonTorres ]: Java version
|
||||
Loading…
Add table
Add a link
Reference in a new issue