3
0
Fork 0
forked from mirrors/nixpkgs

profetch: init at v0.1.6

This commit is contained in:
llathasa-veleth 2021-08-12 14:27:25 +03:00
parent 9df2cb074d
commit 1bf1d81053
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ stdenv, lib
, fetchFromGitHub, gprolog }:
stdenv.mkDerivation rec {
pname = "profetch";
version = "v0.1.6";
src = fetchFromGitHub {
owner = "RustemB";
repo = "profetch";
rev = "v0.1.6";
sha256 = "1clh3l50wz6mlrw9kx0wh2bbhnz6bsksyh4ngz7givv4y3g9m702";
};
buildInputs = [ gprolog ];
buildPhase = ''
gplc profetch.pl --no-top-level \
--no-debugger --no-fd-lib \
--no-fd-lib-warn --min-size -o profetch
'';
installPhase = ''
install -Dm755 -t $out/bin profetch
'';
meta = with lib; {
description = "System Information Fetcher Written in GNU/Prolog";
homepage = "https://github.com/RustemB/profetch";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = [ maintainers.vel ];
};
}

View file

@ -3253,6 +3253,8 @@ with pkgs;
inherit (darwin) libiconv;
};
profetch = callPackage ../tools/misc/profetch { };
psrecord = python3Packages.callPackage ../tools/misc/psrecord {};
reg = callPackage ../tools/virtualization/reg { };