Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at github-to-sqlite-beautifulsoup4 46 lines 973 B view raw
1{ stdenv 2, lib 3, fetchFromGitHub 4, autoconf 5, automake 6, libtool 7, zlib 8, cunit 9, libxcrypt 10}: 11stdenv.mkDerivation rec { 12 pname = "dcap"; 13 version = "2.47.14"; 14 15 src = fetchFromGitHub { 16 owner = "dCache"; 17 repo = "dcap"; 18 rev = version; 19 sha256 = "sha256-hn4nkFTIbSUUhvf9UfsEqVhphAdNWmATaCrv8jOuC0Y="; 20 }; 21 22 nativeBuildInputs = [ autoconf automake libtool ]; 23 buildInputs = [ zlib libxcrypt ]; 24 25 preConfigure = '' 26 patchShebangs bootstrap.sh 27 ./bootstrap.sh 28 ''; 29 30 doCheck = true; 31 32 nativeCheckInputs = [ cunit ]; 33 34 outputs = [ "bin" "dev" "out" "man" "doc" ]; 35 36 meta = with lib; { 37 broken = stdenv.isDarwin; 38 description = "dCache access protocol client library"; 39 homepage = "https://github.com/dCache/dcap"; 40 changelog = "https://github.com/dCache/dcap/blob/master/ChangeLog"; 41 license = licenses.lgpl2Only; 42 platforms = platforms.all; 43 mainProgram = "dccp"; 44 maintainers = with maintainers; [ ShamrockLee ]; 45 }; 46}