nixpkgs/pkgs/data/misc/poppler-data/default.nix
Yury G. Kudryashov 6203fa41f7 Added poppler and poppler-data
svn path=/nixpkgs/trunk/; revision=9633
2007-11-11 16:00:51 +00:00

20 lines
502 B
Nix

args: with args;
stdenv.mkDerivation rec {
name = "poppler-data-0.1.1";
src = fetchurl {
url = http://poppler.freedesktop.org/poppler-data-0.1.1.tar.gz;
sha256 = "1hnfanqbhkjyjq0j8yfadgbcai9mggz09lzxnia2bbk4lhy9722a";
};
installFlags = "prefix=\${out}";
config_tool_name = "poppler-data-dir";
config_tool = ./poppler-data-dir;
postInstall = "
ensureDir \${out}/bin
substituteAll ${config_tool} \${out}/bin/${config_tool_name}
chmod +x \${out}/bin/${config_tool_name}
";
}