Skip to content

Commit

Permalink
swapspace: init at 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
misuzu committed Sep 14, 2022
1 parent 5f326e2 commit be66f80
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/tools/admin/swapspace/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4670,6 +4670,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 { };
Expand Down

0 comments on commit be66f80

Please sign in to comment.