lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 16.09-beta 41 lines 977 B view raw
1{ stdenv, fetchurl, zsh, pinentry, cryptsetup, gnupg1orig, makeWrapper }: 2 3let 4 version = "2.2"; 5in 6 7stdenv.mkDerivation rec { 8 name = "tomb-${version}"; 9 10 src = fetchurl { 11 url = "https://files.dyne.org/tomb/tomb-${version}.tar.gz"; 12 sha256 = "11msj38fdmymiqcmwq1883kjqi5zr01ybdjj58rfjjrw4zw2w5y0"; 13 }; 14 15 buildInputs = [ makeWrapper ]; 16 17 buildPhase = '' 18 # manually patch the interpreter 19 sed -i -e "1s|.*|#!${zsh}/bin/zsh|g" tomb 20 ''; 21 22 installPhase = '' 23 mkdir -p $out/bin 24 mkdir -p $out/share/man/man1 25 26 cp tomb $out/bin/tomb 27 cp doc/tomb.1 $out/share/man/man1 28 29 wrapProgram $out/bin/tomb \ 30 --prefix PATH : "${pinentry}/bin" \ 31 --prefix PATH : "${cryptsetup}/bin" \ 32 --prefix PATH : "${gnupg1orig}/bin" 33 ''; 34 35 meta = { 36 description = "File encryption on GNU/Linux"; 37 homepage = https://www.dyne.org/software/tomb/; 38 license = stdenv.lib.licenses.gpl3; 39 platforms = stdenv.lib.platforms.linux; 40 }; 41}