Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 22.05-pre 30 lines 791 B view raw
1{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, perl }: 2 3stdenv.mkDerivation rec { 4 pname = "libxcrypt"; 5 version = "4.4.18"; 6 7 src = fetchFromGitHub { 8 owner = "besser82"; 9 repo = "libxcrypt"; 10 rev = "v${version}"; 11 sha256 = "4015bf1b3a2aab31da5a544424be36c1a0f0ffc1eaa219c0e7b048e4cdcbbfe1"; 12 }; 13 14 preConfigure = '' 15 patchShebangs autogen.sh 16 ./autogen.sh 17 ''; 18 19 nativeBuildInputs = [ autoconf automake libtool pkg-config perl ]; 20 21 doCheck = true; 22 23 meta = with lib; { 24 description = "Extended crypt library for descrypt, md5crypt, bcrypt, and others"; 25 homepage = "https://github.com/besser82/libxcrypt/"; 26 platforms = platforms.all; 27 maintainers = with maintainers; [ dottedmag ]; 28 license = licenses.lgpl21Plus; 29 }; 30}