Merge pull request #222409 from q60/patch-3

fetch-scm: init at v0.1.5
This commit is contained in:
figsoda 2023-03-23 17:24:37 -04:00 committed by GitHub
commit 7c3911f66d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib, stdenv, fetchFromGitHub, guile }:
stdenv.mkDerivation rec {
pname = "fetch-scm";
version = "0.1.5";
src = fetchFromGitHub {
owner = "KikyTokamuro";
repo = "fetch.scm";
rev = "v${version}";
sha256 = "sha256-H89VCNAYnTwVEqyInATvLHIB7ioe2zvIGTAM2MUo7+g=";
};
dontBuild = true;
buildInputs = [ guile ];
installPhase = ''
runHook preInstall
install -Dm555 fetch.scm $out/bin/fetch-scm
runHook postInstall
'';
meta = with lib; {
description = "System information fetcher written in GNU Guile Scheme";
homepage = "https://github.com/KikyTokamuro/fetch.scm";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ vel ];
};
}

View file

@ -4721,6 +4721,8 @@ with pkgs;
fdroidserver = python3Packages.callPackage ../development/tools/fdroidserver { };
fetch-scm = callPackage ../tools/misc/fetch-scm { };
filebench = callPackage ../tools/misc/filebench { };
filebot = callPackage ../applications/video/filebot { };