mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #191225 from misuzu/swapspace-init
swapspace: init at 1.17
This commit is contained in:
commit
44ea61d940
30
pkgs/tools/admin/swapspace/default.nix
Normal file
30
pkgs/tools/admin/swapspace/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, installShellFiles }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "swapspace";
|
||||
version = "1.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Tookmund";
|
||||
repo = "Swapspace";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-v1kSkepZm6+S4wf86ETgQzEAZBLJ2jQBgCRdF7yvuxs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installManPage doc/swapspace.8
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dynamic swap manager for Linux";
|
||||
homepage = "https://github.com/Tookmund/Swapspace";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ misuzu ];
|
||||
};
|
||||
}
|
@ -4681,6 +4681,8 @@ with pkgs;
|
||||
|
||||
swappy = callPackage ../applications/misc/swappy { gtk = gtk3; };
|
||||
|
||||
swapspace = callPackage ../tools/admin/swapspace { };
|
||||
|
||||
swego = callPackage ../servers/swego { };
|
||||
|
||||
sydbox = callPackage ../os-specific/linux/sydbox { };
|
||||
|
Loading…
Reference in New Issue
Block a user