diff options
author | happysalada <raphael@megzari.com> | 2022-03-20 15:17:03 -0400 |
---|---|---|
committer | Yt <raphael@megzari.com> | 2022-03-20 17:17:06 -0400 |
commit | 659f0ef7df1c73c5cc50e3de10249e14f3cbcba2 (patch) | |
tree | 964eef9d8800de495408165b6a3b0664a82540e4 | |
parent | e2f381b2f1879ad6d68be5a9e9e6e3288529bfaf (diff) | |
download | nixpkgs-659f0ef7df1c73c5cc50e3de10249e14f3cbcba2.tar nixpkgs-659f0ef7df1c73c5cc50e3de10249e14f3cbcba2.tar.gz nixpkgs-659f0ef7df1c73c5cc50e3de10249e14f3cbcba2.tar.bz2 nixpkgs-659f0ef7df1c73c5cc50e3de10249e14f3cbcba2.tar.lz nixpkgs-659f0ef7df1c73c5cc50e3de10249e14f3cbcba2.tar.xz nixpkgs-659f0ef7df1c73c5cc50e3de10249e14f3cbcba2.tar.zst nixpkgs-659f0ef7df1c73c5cc50e3de10249e14f3cbcba2.zip |
allure: init at 2.17.3
-rw-r--r-- | pkgs/development/tools/allure/default.nix | 39 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/tools/allure/default.nix b/pkgs/development/tools/allure/default.nix new file mode 100644 index 00000000000..2988a559aa7 --- /dev/null +++ b/pkgs/development/tools/allure/default.nix @@ -0,0 +1,39 @@ +{ lib, stdenv, makeWrapper, fetchurl, jre }: + +let + pname = "allure"; + version = "2.17.3"; +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-WGeCzWwyLEb4WmlA6Vs8L2TL3NTL6sky5TLeiwV8iJY="; + }; + 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 ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dfc83bf39d9..3b6e1bc045e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1041,6 +1041,8 @@ with pkgs; albert = libsForQt5.callPackage ../applications/misc/albert {}; + allure = callPackage ../development/tools/allure {}; + aquosctl = callPackage ../tools/misc/aquosctl { }; arch-install-scripts = callPackage ../tools/misc/arch-install-scripts {}; |