61 lines
1.3 KiB
Nix
61 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
coreutils,
|
|
gnused,
|
|
gnugrep,
|
|
curl,
|
|
wget,
|
|
binutils,
|
|
unzip,
|
|
gnutar,
|
|
zsync
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "AppMan";
|
|
version = "7.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ivan-hc";
|
|
repo = "AM";
|
|
rev = "e8abedace64c32023086a9c79fe646d84588a995";
|
|
hash = "sha256-n0m5VWdMTYWv18cB++NYWMQZXNKWfnj0iHgj0ZNdjy8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
coreutils
|
|
gnused
|
|
gnugrep
|
|
curl
|
|
wget
|
|
binutils
|
|
unzip
|
|
gnutar
|
|
zsync
|
|
];
|
|
|
|
buildPhase = ''
|
|
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp APP-MANAGER $out/bin
|
|
ln -sf $out/bin/APP-MANAGER $out/bin/am
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Database & solutions for all AppImages and portable apps for GNU/Linux!";
|
|
longDescription = ''
|
|
AppImage package manager to install, update (for real) and manage ALL of them (system-wide or locally) thanks to its ever-growing AUR-inspired database listing 2000+ portable apps and programs for GNU/Linux.
|
|
The first, real centralized repository to manage your AppImages with the ease of APT and the power of PacMan.
|
|
'';
|
|
homepage = "https://portable-linux-apps.github.io/";
|
|
changelog = "https://github.com/ivan-hc/AM/releases/tag/${version}";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|