tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
fscryptctl: init at 2017-09-12
Michael Weiss
8 years ago
ec075b40
cd4eba7c
+55
3 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
fscryptctl
default.nix
install.patch
top-level
all-packages.nix
+32
pkgs/os-specific/linux/fscryptctl/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ stdenv, fetchFromGitHub }:
2
+
3
+
# Don't use this for anything important yet!
4
+
5
+
stdenv.mkDerivation rec {
6
+
name = "fscryptctl-unstable-${version}";
7
+
version = "2017-09-12";
8
+
9
+
goPackagePath = "github.com/google/fscrypt";
10
+
11
+
src = fetchFromGitHub {
12
+
owner = "google";
13
+
repo = "fscryptctl";
14
+
rev = "f037dcf4354ce8f25d0f371b58dfe7a7ac27576f";
15
+
sha256 = "1dw1y6jbm2ibn7npvpw6cl28rcz0jz4as2yl6walz7ppmqbj9scf";
16
+
};
17
+
18
+
patches = [ ./install.patch ];
19
+
20
+
makeFlags = [ "DESTDIR=$(out)/bin" ];
21
+
22
+
meta = with stdenv.lib; {
23
+
description = ''
24
+
A low-level tool that handles raw keys and manages policies for Linux
25
+
filesystem encryption
26
+
'';
27
+
inherit (src.meta) homepage;
28
+
license = licenses.asl20;
29
+
platforms = platforms.linux;
30
+
maintainers = with maintainers; [ primeos ];
31
+
};
32
+
}
+22
pkgs/os-specific/linux/fscryptctl/install.patch
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
--- a/Makefile 2017-09-24 22:48:19.322116085 +0200
2
+
+++ b/Makefile 2017-09-24 22:50:07.655725022 +0200
3
+
@@ -19,7 +19,7 @@
4
+
CFLAGS += -O2 -Wall
5
+
6
+
INSTALL = install
7
+
-DESTDIR = /usr/local/bin
8
+
+DESTDIR ?= /usr/local/bin
9
+
10
+
OBJECTS = $(NAME).o sha512.o
11
+
12
+
@@ -38,8 +38,8 @@
13
+
@python -m pytest test.py -s -q
14
+
15
+
install: $(NAME)
16
+
- $(INSTALL) -d $(DEST_DIR)
17
+
- $(INSTALL) $(NAME) $(DEST_DIR)
18
+
+ $(INSTALL) -d $(DESTDIR)
19
+
+ $(INSTALL) $(NAME) $(DESTDIR)
20
+
21
+
clean:
22
+
rm -f $(OBJECTS)
+1
pkgs/top-level/all-packages.nix
···
12034
12035
# unstable until the first 1.x release
12036
fscrypt-experimental = callPackage ../os-specific/linux/fscrypt { };
0
12037
12038
fwupd = callPackage ../os-specific/linux/firmware/fwupd { inherit (gnome2) gtk_doc; inherit (python3Packages) pygobject3 pillow; };
12039
···
12034
12035
# unstable until the first 1.x release
12036
fscrypt-experimental = callPackage ../os-specific/linux/fscrypt { };
12037
+
fscryptctl-experimental = callPackage ../os-specific/linux/fscryptctl { };
12038
12039
fwupd = callPackage ../os-specific/linux/firmware/fwupd { inherit (gnome2) gtk_doc; inherit (python3Packages) pygobject3 pillow; };
12040