Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{lib, stdenv, fetchurl, perl}: 2 3stdenv.mkDerivation rec { 4 pname = "ccrypt"; 5 version = "1.11"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/ccrypt/ccrypt-${version}.tar.gz"; 9 sha256 = "0kx4a5mhmp73ljknl2lcccmw9z3f5y8lqw0ghaymzvln1984g75i"; 10 }; 11 12 nativeBuildInputs = [ perl ]; 13 14 hardeningDisable = [ "format" ]; 15 16 meta = { 17 homepage = "https://ccrypt.sourceforge.net/"; 18 description = "Utility for encrypting and decrypting files and streams with AES-256"; 19 license = lib.licenses.gpl2Plus; 20 maintainers = with lib.maintainers; [viric]; 21 platforms = with lib.platforms; all; 22 }; 23}