Merge pull request #20496 from offlinehacker/pkgs/gocryptfs/init

gocryptfs: init at 1.1.1

authored by Jaka Hudoklin and committed by GitHub e10198e7 3e134f05

+84
+43
pkgs/tools/filesystems/gocrypfs/default.nix
···
··· 1 + # This file was generated by go2nix. 2 + { stdenv, lib, buildGoPackage, fetchFromGitHub, pkgconfig, openssl }: 3 + 4 + with lib; 5 + 6 + let 7 + goFuseVersion = substring 0 7 (head (filter ( 8 + d: d.goPackagePath == "github.com/hanwen/go-fuse" 9 + ) (import ./deps.nix))).fetch.rev; 10 + in buildGoPackage rec { 11 + name = "gocryptfs-${version}"; 12 + version = "1.1.1"; 13 + rev = "v${version}"; 14 + 15 + goPackagePath = "github.com/rfjakob/gocryptfs"; 16 + 17 + src = fetchFromGitHub { 18 + inherit rev; 19 + owner = "rfjakob"; 20 + repo = "gocryptfs"; 21 + sha256 = "0p173x2s0km7a43h6ihir5p19fdlkkb9lc9120k9hccr33iws25z"; 22 + }; 23 + 24 + buildInputs = [pkgconfig openssl]; 25 + 26 + goDeps = ./deps.nix; 27 + 28 + postPatch = "rm -r tests"; 29 + 30 + buildFlagsArray = '' 31 + -ldflags= 32 + -X main.GitVersion=${rev} 33 + -X main.GitVersionFuse=${goFuseVersion} 34 + ''; 35 + 36 + meta = { 37 + description = "Encrypted overlay filesystem written in Go"; 38 + license = licenses.mit; 39 + homepage = https://nuetzlich.net/gocryptfs/; 40 + maintainers = with maintainers; [offline]; 41 + platforms = with platforms; linux; 42 + }; 43 + }
+39
pkgs/tools/filesystems/gocrypfs/deps.nix
···
··· 1 + # This file was generated by go2nix. 2 + [ 3 + { 4 + goPackagePath = "github.com/hanwen/go-fuse"; 5 + fetch = { 6 + type = "git"; 7 + url = "https://github.com/hanwen/go-fuse"; 8 + rev = "6c2b7d8f22c99776f8bfe17cd26d5f744a5b4cdc"; 9 + sha256 = "1mb73vyqfy92830qif83zdlng0zycmm5fgmm9bwihqh92y8inw3h"; 10 + }; 11 + } 12 + { 13 + goPackagePath = "github.com/jacobsa/crypto"; 14 + fetch = { 15 + type = "git"; 16 + url = "https://github.com/jacobsa/crypto"; 17 + rev = "293ce0c192fb4f59cd879b46544922b9ed09a13a"; 18 + sha256 = "12nm5h5dqqk8yrzlkmcqm0aam8l6l1s6rah48mrmz1z5bgm9h5rs"; 19 + }; 20 + } 21 + { 22 + goPackagePath = "github.com/rfjakob/eme"; 23 + fetch = { 24 + type = "git"; 25 + url = "https://github.com/rfjakob/eme"; 26 + rev = "601d0e278ceda9aa2085a61c9265f6e690ef5255"; 27 + sha256 = "1ryh5f2a42psrqcpjh73shk3p0mva2vcyyfav4nhxmfqall77k5z"; 28 + }; 29 + } 30 + { 31 + goPackagePath = "golang.org/x/crypto"; 32 + fetch = { 33 + type = "git"; 34 + url = "https://go.googlesource.com/crypto"; 35 + rev = "88d0005bf4c3ec17306ecaca4281a8d8efd73e91"; 36 + sha256 = "1d3x0rwfd4cml06ka8gy74wxrw94m2z7qgz6ky0rgmxcr7p5iikz"; 37 + }; 38 + } 39 + ]
+2
pkgs/top-level/all-packages.nix
··· 1923 1924 goaccess = callPackage ../tools/misc/goaccess { }; 1925 1926 go-mtpfs = callPackage ../tools/filesystems/go-mtpfs { }; 1927 1928 go-pup = callPackage ../development/tools/pup { };
··· 1923 1924 goaccess = callPackage ../tools/misc/goaccess { }; 1925 1926 + gocryptfs = callPackage ../tools/filesystems/gocrypfs { }; 1927 + 1928 go-mtpfs = callPackage ../tools/filesystems/go-mtpfs { }; 1929 1930 go-pup = callPackage ../development/tools/pup { };