libmcrypt: modernize

+5 -5
+5 -5
pkgs/by-name/li/libmcrypt/package.nix
··· 6 disablePosixThreads ? false, 7 }: 8 9 - stdenv.mkDerivation rec { 10 pname = "libmcrypt"; 11 version = "2.5.8"; 12 13 src = fetchurl { 14 - url = "mirror://sourceforge/mcrypt/Libmcrypt/${version}/libmcrypt-${version}.tar.gz"; 15 - sha256 = "0gipgb939vy9m66d3k8il98rvvwczyaw2ixr8yn6icds9c3nrsz4"; 16 }; 17 18 buildInputs = lib.optional stdenv.hostPlatform.isDarwin cctools; ··· 34 description = "Replacement for the old crypt() package and crypt(1) command, with extensions"; 35 mainProgram = "libmcrypt-config"; 36 homepage = "https://mcrypt.sourceforge.net"; 37 - license = "GPL"; 38 platforms = lib.platforms.all; 39 }; 40 - }
··· 6 disablePosixThreads ? false, 7 }: 8 9 + stdenv.mkDerivation (finalAttrs: { 10 pname = "libmcrypt"; 11 version = "2.5.8"; 12 13 src = fetchurl { 14 + url = "mirror://sourceforge/mcrypt/Libmcrypt/${finalAttrs.version}/libmcrypt-${finalAttrs.version}.tar.gz"; 15 + hash = "sha256-5OtsB0u6sWisR7lHwZX/jO+dUaIRzdGMqcnvNNJ6Nz4="; 16 }; 17 18 buildInputs = lib.optional stdenv.hostPlatform.isDarwin cctools; ··· 34 description = "Replacement for the old crypt() package and crypt(1) command, with extensions"; 35 mainProgram = "libmcrypt-config"; 36 homepage = "https://mcrypt.sourceforge.net"; 37 + license = lib.licenses.lgpl21Plus; 38 platforms = lib.platforms.all; 39 }; 40 + })