3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/http/redstore/src-info-for-default.nix
Michael Raskin 14eea491b8 Adding Redstore HTTP RDF/SPARQL server
svn path=/nixpkgs/trunk/; revision=22428
2010-06-29 22:18:49 +00:00

7 lines
276 B
Nix

{
downloadPage = "http://code.google.com/p/redstore/downloads/list";
baseName = "redstore";
choiceCommand = '' head -n 1 |
sed -re "s@[&].*@@; s@.*[?]name=(.*)@http://$(sed -re "s@.*/p/([^/]+)/.*@\\1@" <<< "$(getAttr downloadPage)").googlecode.com/files/\\1@" '';
}