mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-18 05:21:47 +03:00
23 lines
504 B
Nix
23 lines
504 B
Nix
|
{ stdenv, fetchFromGitHub }:
|
||
|
|
||
|
stdenv.mkDerivation {
|
||
|
pname = "hardshutdown";
|
||
|
version = "0.0.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "mobile-nixos";
|
||
|
repo = "hardshutdown";
|
||
|
rev = "6beb4b77b273bbd045870ecd8de8630b5007451b";
|
||
|
sha256 = "0vxflpfx8dr5rzr9y6hm0zv7jxcc3sgisqvkyicwzg8mvl2vfshi";
|
||
|
};
|
||
|
|
||
|
makeFlags = [
|
||
|
"PREFIX=${placeholder "out"}"
|
||
|
];
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Single-call binary handling shutdown/reboot syscalls";
|
||
|
license = licenses.gpl2;
|
||
|
};
|
||
|
}
|