nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "encpipe";
9 version = "0.5";
10
11 src = fetchFromGitHub {
12 owner = "jedisct1";
13 repo = "encpipe";
14 rev = version;
15 hash = "sha256-YlEKSWzZuQyDi0mbwJh9Dfn4gKiOeqihSHPt4yY6YdY=";
16 fetchSubmodules = true;
17 };
18
19 installFlags = [
20 "PREFIX=$(out)"
21 ];
22
23 meta = with lib; {
24 description = "Encryption tool";
25 homepage = "https://github.com/jedisct1/encpipe";
26 license = licenses.isc;
27 maintainers = with maintainers; [ figsoda ];
28 mainProgram = "encpipe";
29 };
30}