tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libmcrypt: modernize
Petr Zahradnik
11 months ago
801a0580
1a6ec72e
+5
-5
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
li
libmcrypt
package.nix
+5
-5
pkgs/by-name/li/libmcrypt/package.nix
···
6
6
disablePosixThreads ? false,
7
7
}:
8
8
9
9
-
stdenv.mkDerivation rec {
9
9
+
stdenv.mkDerivation (finalAttrs: {
10
10
pname = "libmcrypt";
11
11
version = "2.5.8";
12
12
13
13
src = fetchurl {
14
14
-
url = "mirror://sourceforge/mcrypt/Libmcrypt/${version}/libmcrypt-${version}.tar.gz";
15
15
-
sha256 = "0gipgb939vy9m66d3k8il98rvvwczyaw2ixr8yn6icds9c3nrsz4";
14
14
+
url = "mirror://sourceforge/mcrypt/Libmcrypt/${finalAttrs.version}/libmcrypt-${finalAttrs.version}.tar.gz";
15
15
+
hash = "sha256-5OtsB0u6sWisR7lHwZX/jO+dUaIRzdGMqcnvNNJ6Nz4=";
16
16
};
17
17
18
18
buildInputs = lib.optional stdenv.hostPlatform.isDarwin cctools;
···
34
34
description = "Replacement for the old crypt() package and crypt(1) command, with extensions";
35
35
mainProgram = "libmcrypt-config";
36
36
homepage = "https://mcrypt.sourceforge.net";
37
37
-
license = "GPL";
37
37
+
license = lib.licenses.lgpl21Plus;
38
38
platforms = lib.platforms.all;
39
39
};
40
40
-
}
40
40
+
})