From f4b885df97aafe36fd08637cb2d770463f1997aa Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Wed, 6 Jul 2022 01:27:11 -0300 Subject: [PATCH] xosview2: remove spurious doCheck = false --- pkgs/tools/X11/xosview2/default.nix | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/pkgs/tools/X11/xosview2/default.nix b/pkgs/tools/X11/xosview2/default.nix index 771cc772d71..653698c052b 100644 --- a/pkgs/tools/X11/xosview2/default.nix +++ b/pkgs/tools/X11/xosview2/default.nix @@ -1,21 +1,23 @@ -{ lib, stdenv, fetchurl, libX11 }: +{ lib +, stdenv +, fetchurl +, libX11 +}: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "xosview2"; version = "2.3.2"; src = fetchurl { - url = "mirror://sourceforge/xosview/${pname}-${version}.tar.gz"; - sha256 = "sha256-ex1GDBgx9Zzx5tOkZ2IRYskmBh/bUYpRTXHWRoE30vA="; + url = "mirror://sourceforge/xosview/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; + hash = "sha256-ex1GDBgx9Zzx5tOkZ2IRYskmBh/bUYpRTXHWRoE30vA="; }; - # The software failed to buid with this enabled; it seemed tests were not implemented - doCheck = false; - buildInputs = [ libX11 ]; meta = with lib; { - description = "Lightweight program that gathers information from your operating system and displays it in graphical form"; + homepage = "http://xosview.sourceforge.net/index.html"; + description = "Lightweight graphical operating system monitor"; longDescription = '' xosview is a lightweight program that gathers information from your operating system and displays it in graphical form. It attempts to show @@ -33,9 +35,8 @@ stdenv.mkDerivation rec { connect to it on a network, then you can popup an xosview instance and monitor what is going on. ''; - homepage = "http://xosview.sourceforge.net/index.html"; license = with licenses; [ gpl2 bsdOriginal ]; - maintainers = [ maintainers.SeanZicari ]; + maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.all; }; -} +})