mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
parent
0dffbcd178
commit
827e954c54
32
pkgs/tools/filesystems/rmount/default.nix
Normal file
32
pkgs/tools/filesystems/rmount/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, nmap, jq, cifs-utils, sshfs, fetchFromGitHub, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "rmount";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub rec {
|
||||
rev = "v${version}";
|
||||
owner = "Luis-Hebendanz";
|
||||
repo = "rmount";
|
||||
sha256 = "1wjmfvbsq3126z51f2ivj85cjmkrzdm2acqsiyqs57qga2g6w5p9";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
install -D ${src}/rmount.man $out/share/man/man1/rmount.1
|
||||
install -D ${src}/rmount.bash $out/bin/rmount
|
||||
install -D ${src}/config.json $out/share/config.json
|
||||
|
||||
wrapProgram $out/bin/rmount --prefix PATH : ${stdenv.lib.makeBinPath [ nmap jq cifs-utils sshfs ]}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/Luis-Hebendanz/rmount;
|
||||
description = "Remote mount utility which parses a json file";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.luis ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -23280,6 +23280,8 @@ in
|
||||
|
||||
ricty = callPackage ../data/fonts/ricty { };
|
||||
|
||||
rmount = callPackage ../tools/filesystems/rmount {};
|
||||
|
||||
rss-glx = callPackage ../misc/screensavers/rss-glx { };
|
||||
|
||||
run-scaled = callPackage ../tools/X11/run-scaled { };
|
||||
|
Loading…
Reference in New Issue
Block a user