Skip to content

Commit

Permalink
Merge pull request #195271 from mweinelt/libxcrypt-continued
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Oct 11, 2022
2 parents aabca3e + 5f7f739 commit 2085ea1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pkgs/development/libraries/libxcrypt/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, perl }:
{ lib, stdenv, fetchurl, perl, nixosTests }:

stdenv.mkDerivation rec {
pname = "libxcrypt";
Expand All @@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-npNoEfn60R28ozyhm9l8VcUus8oVkB8nreBGzHnmnoc=";
};

outputs = [
"out"
"man"
];

configureFlags = [
"--enable-hashes=all"
"--enable-obsolete-api=glibc"
Expand All @@ -25,11 +30,15 @@ stdenv.mkDerivation rec {

doCheck = !stdenv.hostPlatform.isMusl;

passthru.tests = {
inherit (nixosTests) login shadow;
};

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 ];
maintainers = with maintainers; [ dottedmag hexa ];
license = licenses.lgpl21Plus;
};
}

0 comments on commit 2085ea1

Please sign in to comment.