mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
31 lines
695 B
Nix
31 lines
695 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, installShellFiles }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "swapspace";
|
|
version = "1.18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Tookmund";
|
|
repo = "Swapspace";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-tzsw10cpu5hldkm0psWcFnWToWQejout/oGHJais6yw=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|