From 6efc090d5c15048c23bcceaab000ef3eef1bd932 Mon Sep 17 00:00:00 2001 From: llathasa-veleth Date: Thu, 23 Mar 2023 22:56:56 +0300 Subject: [PATCH] fetch-scm: init at 0.1.5 --- pkgs/tools/misc/fetch-scm/default.nix | 31 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/tools/misc/fetch-scm/default.nix diff --git a/pkgs/tools/misc/fetch-scm/default.nix b/pkgs/tools/misc/fetch-scm/default.nix new file mode 100644 index 000000000000..cd8026c19298 --- /dev/null +++ b/pkgs/tools/misc/fetch-scm/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1d8a457f7786..53960556f3ba 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4715,6 +4715,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 { };