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
39
pkgs/development/tools/allure/default.nix
Normal file
39
pkgs/development/tools/allure/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, stdenv, makeWrapper, fetchurl, jre }:
|
||||
|
||||
let
|
||||
pname = "allure";
|
||||
version = "2.18.1";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
inherit pname version;
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildInputs = [ jre ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/allure-framework/allure2/releases/download/${version}/allure-${version}.tgz";
|
||||
sha256 = "sha256-6psHHmU9TN0iugmPErdeLHevm+T2/3IJIp7kMdUSFd8=";
|
||||
};
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share"
|
||||
cd "$out/share"
|
||||
tar xvzf $src
|
||||
mkdir -p "$out/bin"
|
||||
makeWrapper $out/share/${pname}-${version}/bin/allure $out/bin/${pname} \
|
||||
--prefix PATH : "${jre}/bin"
|
||||
'';
|
||||
|
||||
dontCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://docs.qameta.io/allure/";
|
||||
description = "Allure Report is a flexible, lightweight multi-language test reporting tool.";
|
||||
longDescription = "Allure Report is a flexible, lightweight multi-language test reporting tool. It provides clear graphical reports and allows everyone involved in the development process to extract the maximum of information from the everyday testing process";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ happysalada ];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue