Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 26 lines 569 B view raw
1{ stdenv 2, fetchurl 3}: 4 5stdenv.mkDerivation rec { 6 pname = "graphs"; 7 version = "20161026"; 8 name = "${pname}-${version}"; 9 10 src = fetchurl { 11 url = "mirror://sageupstream/${pname}/${pname}-${version}.tar.bz2"; 12 sha256 = "0a2b5lly9nifphvknz88rrhfbbc8vqnlqcv19zdpfq8h8nnyjbb2"; 13 }; 14 15 installPhase = '' 16 mkdir -p "$out/share/graphs" 17 cp * "$out/share/graphs/" 18 ''; 19 20 meta = with stdenv.lib; { 21 description = "A database of graphs"; 22 license = licenses.gpl2; 23 platforms = platforms.all; 24 maintainers = with maintainers; [ timokau ]; 25 }; 26}