Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-16.03 23 lines 600 B view raw
1{ stdenv, fetchurl, cmake, boost, ruby_1_9, ignition, tinyxml 2 , name ? "sdformat-${version}" 3 , version ? "4.0.0" # versions known to work with this expression include 3.7.0 4 , srchash-sha256 ? "b0f94bb40b0d83e35ff250a7916fdfd6df5cdc1e60c47bc53dd2da5e2378163e" 5 , ... 6 }: 7 8let 9 ruby = ruby_1_9; 10in 11stdenv.mkDerivation rec { 12 src = fetchurl { 13 url = "http://osrf-distributions.s3.amazonaws.com/sdformat/releases/${name}.tar.bz2"; 14 sha256 = srchash-sha256; 15 }; 16 17 inherit name; 18 19 enableParallelBuilding = true; 20 buildInputs = [ 21 cmake boost ruby ignition.math2 tinyxml 22 ]; 23}