forked from mirrors/nixpkgs
profetch: init at v0.1.6
This commit is contained in:
parent
9df2cb074d
commit
1bf1d81053
34
pkgs/tools/misc/profetch/default.nix
Normal file
34
pkgs/tools/misc/profetch/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue