Merge pull request #114635 from dottedmag/libxcrypt

This commit is contained in:
Sandro 2021-02-28 16:53:58 +01:00 committed by GitHub
commit 2aaaa3ba86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 0 deletions

View file

@ -2417,6 +2417,16 @@
githubId = 6806011;
name = "Robert Schütz";
};
dottedmag = {
email = "dottedmag@dottedmag.net";
github = "dottedmag";
githubId = 16120;
name = "Misha Gusarov";
keys = [{
longkeyid = "rsa4096/0x9D20F6503E338888";
fingerprint = "A8DF 1326 9E5D 9A38 E57C FAC2 9D20 F650 3E33 8888";
}];
};
doublec = {
email = "chris.double@double.co.nz";
github = "doublec";

View file

@ -0,0 +1,30 @@
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, perl }:
stdenv.mkDerivation rec {
pname = "libxcrypt";
version = "4.4.18";
src = fetchFromGitHub {
owner = "besser82";
repo = "libxcrypt";
rev = "v${version}";
sha256 = "4015bf1b3a2aab31da5a544424be36c1a0f0ffc1eaa219c0e7b048e4cdcbbfe1";
};
preConfigure = ''
patchShebangs autogen.sh
./autogen.sh
'';
nativeBuildInputs = [ autoconf automake libtool pkg-config perl ];
doCheck = true;
meta = with lib; {
description = "Extended crypt library for descrypt, md5crypt, bcrypt, and others";
homepage = "https://github.com/besser82/libxcrypt/";
platforms = platforms.all;
maintainers = with maintainers; [ dottedmag ];
license = licenses.lgpl21Plus;
};
}

View file

@ -15778,6 +15778,8 @@ in
libx86 = callPackage ../development/libraries/libx86 {};
libxcrypt = callPackage ../development/libraries/libxcrypt { };
libxdg_basedir = callPackage ../development/libraries/libxdg-basedir { };
libxkbcommon = libxkbcommon_8;