mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
Added bashmount package.
This commit is contained in:
parent
7d0a7ed62c
commit
ce0dd9e335
|
@ -67,6 +67,7 @@
|
|||
joelteon = "Joel Taylor <me@joelt.io>";
|
||||
jwiegley = "John Wiegley <johnw@newartisans.com>";
|
||||
kkallio = "Karn Kallio <tierpluspluslists@gmail.com>";
|
||||
koral = "Koral <koral@mailoo.org>";
|
||||
ktosiek = "Tomasz Kontusz <tomasz.kontusz@gmail.com>";
|
||||
lethalman = "Luca Bruno <lucabru@src.gnome.org>";
|
||||
lhvwb = "Nathaniel Baxter <nathaniel.baxter@gmail.com>";
|
||||
|
|
34
pkgs/tools/filesystems/bashmount/default.nix
Normal file
34
pkgs/tools/filesystems/bashmount/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bashmount-${version}";
|
||||
version = "3.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github/jamielinux/bashmount/archive/${version}.tar.gz";
|
||||
sha256 = "08ncksz8xl0qg5y5qf64b9adfnsg6769wf5bw8lv8q0zjbhjiwrj";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp bashmount $out/bin
|
||||
|
||||
mkdir -p $out/etc
|
||||
cp bashmount.conf $out/etc
|
||||
|
||||
mkdir -p $out/share/man/man1
|
||||
gzip -c -9 bashmount.1 > bashmount.1.gz
|
||||
cp bashmount.1.gz $out/share/man/man1
|
||||
|
||||
mkdir -p $out/share/doc/bashmount
|
||||
cp COPYING $out/share/doc/bashmount
|
||||
cp NEWS $out/share/doc/bashmount
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/jamielinux/bashmount;
|
||||
description = "A menu-driven bash script for the management of removable media with udisks";
|
||||
maintainers = maintainers.koral;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -573,6 +573,8 @@ let
|
|||
|
||||
barcode = callPackage ../tools/graphics/barcode {};
|
||||
|
||||
bashmount = callPackage ../tools/filesystems/bashmount {};
|
||||
|
||||
bc = callPackage ../tools/misc/bc { };
|
||||
|
||||
bcache-tools = callPackage ../tools/filesystems/bcache-tools { };
|
||||
|
|
Loading…
Reference in a new issue