depot/third_party/nixpkgs/pkgs/tools/misc/encpipe/default.nix

30 lines
565 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "encpipe";
version = "0.5";
src = fetchFromGitHub {
owner = "jedisct1";
repo = "encpipe";
rev = version;
hash = "sha256-YlEKSWzZuQyDi0mbwJh9Dfn4gKiOeqihSHPt4yY6YdY=";
fetchSubmodules = true;
};
installFlags = [
"PREFIX=$(out)"
];
meta = with lib; {
description = "Encryption tool";
homepage = "https://github.com/jedisct1/encpipe";
license = licenses.isc;
maintainers = with maintainers; [ figsoda ];
mainProgram = "encpipe";
};
}