default.nix (523B)
1 { stdenv, lib, buildGoPackage, fetchFromGitHub }: 2 3 buildGoPackage rec { 4 name = "envbox-${version}"; 5 version = "0.2.0"; 6 rev = "v${version}"; 7 8 goPackagePath = "github.com/justone/envbox"; 9 10 src = fetchFromGitHub { 11 inherit rev; 12 owner = "justone"; 13 repo = "envbox"; 14 sha256 = "0jryr7czaqdhqq4w7mjmhbpplfflg4b0hgfgyn8jn5l2sd63k70i"; 15 }; 16 17 meta = { 18 description = "Secure environment variables via secretbox"; 19 homepage = "https://github.com/justone/envbox"; 20 license = lib.licenses.mit; 21 }; 22 }