lol
0
fork

Configure Feed

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

at 24.11-pre 32 lines 941 B view raw
1{ stdenv, lib, fetchFromGitHub, makeWrapper, unzip, catdoc }: 2 3stdenv.mkDerivation { 4 pname = "catdocx"; 5 version = "unstable-2017-01-02"; 6 7 src = fetchFromGitHub { 8 owner = "jncraton"; 9 repo = "catdocx"; 10 rev = "04fa0416ec1f116d4996685e219f0856d99767cb"; 11 sha256 = "1sxiqhkvdqn300ygfgxdry2dj2cqzjhkzw13c6349gg5vxfypcjh"; 12 }; 13 14 nativeBuildInputs = [ makeWrapper ]; 15 16 installPhase = '' 17 mkdir -p $out/libexec $out/bin 18 cp catdocx.sh $out/libexec 19 chmod +x $out/libexec/catdocx.sh 20 wrapProgram $out/libexec/catdocx.sh --prefix PATH : "${lib.makeBinPath [ unzip catdoc ]}" 21 ln -s $out/libexec/catdocx.sh $out/bin/catdocx 22 ''; 23 24 meta = with lib; { 25 description = "Extracts plain text from docx files"; 26 mainProgram = "catdocx"; 27 homepage = "https://github.com/jncraton/catdocx"; 28 license = with licenses; [ bsd3 ]; 29 maintainers = [ maintainers.michalrus ]; 30 platforms = platforms.all; 31 }; 32}