tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
jefferson: init at 0.4.2
Philipp Bartsch
3 years ago
d630f6ad
0edd6eb3
+43
2 changed files
expand all
collapse all
unified
split
pkgs
tools
filesystems
jefferson
default.nix
top-level
all-packages.nix
+41
pkgs/tools/filesystems/jefferson/default.nix
···
1
1
+
{ lib
2
2
+
, fetchFromGitHub
3
3
+
, python3
4
4
+
}:
5
5
+
6
6
+
python3.pkgs.buildPythonApplication rec {
7
7
+
pname = "jefferson";
8
8
+
version = "0.4.2";
9
9
+
format = "pyproject";
10
10
+
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "onekey-sec";
13
13
+
repo = pname;
14
14
+
rev = "v${version}";
15
15
+
hash = "sha256-zW38vcDw4Jz5gO9IHrWRlvUznKvUyPbxkYMxn7VSTpA=";
16
16
+
};
17
17
+
18
18
+
nativeBuildInputs = with python3.pkgs; [
19
19
+
poetry-core
20
20
+
];
21
21
+
22
22
+
propagatedBuildInputs = with python3.pkgs; [
23
23
+
click
24
24
+
cstruct
25
25
+
python-lzo
26
26
+
];
27
27
+
28
28
+
pythonImportsCheck = [
29
29
+
"jefferson"
30
30
+
];
31
31
+
32
32
+
# upstream has no tests
33
33
+
doCheck = false;
34
34
+
35
35
+
meta = with lib; {
36
36
+
description = "JFFS2 filesystem extraction tool";
37
37
+
homepage = "https://github.com/onekey-sec/jefferson";
38
38
+
license = licenses.mit;
39
39
+
maintainers = with maintainers; [ tnias ];
40
40
+
};
41
41
+
}
+2
pkgs/top-level/all-packages.nix
···
20606
20606
20607
20607
jbigkit = callPackage ../development/libraries/jbigkit { };
20608
20608
20609
20609
+
jefferson = callPackage ../tools/filesystems/jefferson { };
20610
20610
+
20609
20611
jemalloc = callPackage ../development/libraries/jemalloc { };
20610
20612
20611
20613
jose = callPackage ../development/libraries/jose { };