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