Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 41 lines 912 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 libatomic_ops, 7 boehmgc, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "chase"; 12 version = "0.5.2"; 13 14 nativeBuildInputs = [ pkg-config ]; 15 buildInputs = [ 16 libatomic_ops 17 boehmgc 18 ]; 19 src = fetchurl { 20 url = "mirror://debian/pool/main/c/chase/chase_${version}.orig.tar.gz"; 21 sha256 = "68d95c2d4dc45553b75790fcea4413b7204a2618dff148116ca9bdb0310d737f"; 22 }; 23 24 doCheck = true; 25 makeFlags = [ 26 "-e" 27 "LIBS=-lgc" 28 ]; 29 30 meta = with lib; { 31 description = "Follow a symlink and print out its target file"; 32 longDescription = '' 33 A commandline program that chases symbolic filesystems links to the original file 34 ''; 35 homepage = "https://qa.debian.org/developer.php?login=rotty%40debian.org"; 36 license = licenses.gpl2Plus; 37 maintainers = [ maintainers.polyrod ]; 38 platforms = platforms.all; 39 mainProgram = "chase"; 40 }; 41}