tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xortool: init at 1.0.0
Fabian Affolter
5 years ago
6faef4ab
dd3238c0
+37
2 changed files
expand all
collapse all
unified
split
pkgs
tools
security
xortool
default.nix
top-level
all-packages.nix
+35
pkgs/tools/security/xortool/default.nix
···
1
1
+
{ lib
2
2
+
, buildPythonApplication
3
3
+
, docopt
4
4
+
, fetchFromGitHub
5
5
+
, importlib-metadata
6
6
+
, poetry-core
7
7
+
}:
8
8
+
9
9
+
buildPythonApplication rec {
10
10
+
pname = "xortool";
11
11
+
version = "1.0.0";
12
12
+
format = "pyproject";
13
13
+
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "hellman";
16
16
+
repo = pname;
17
17
+
rev = "v${version}";
18
18
+
sha256 = "19lfadi28r89bl5q8fhrxgjgs3nx3kgjd4rdg7wbvzi1cn29c5n7";
19
19
+
};
20
20
+
21
21
+
nativeBuildInputs = [ poetry-core ];
22
22
+
23
23
+
propagatedBuildInputs = [ docopt importlib-metadata ];
24
24
+
25
25
+
# Project has no tests
26
26
+
doCheck = false;
27
27
+
pythonImportsCheck = [ "xortool" ];
28
28
+
29
29
+
meta = with lib; {
30
30
+
description = "Tool to analyze multi-byte XOR cipher";
31
31
+
homepage = "https://github.com/hellman/xortool";
32
32
+
license = with licenses; [ mit ];
33
33
+
maintainers = with maintainers; [ fab ];
34
34
+
};
35
35
+
}
+2
pkgs/top-level/all-packages.nix
···
29245
29245
29246
29246
xboxdrv = callPackage ../misc/drivers/xboxdrv { };
29247
29247
29248
29248
+
xortool = python3Packages.callPackage ../tools/security/xortool { };
29249
29249
+
29248
29250
xow = callPackage ../misc/drivers/xow { };
29249
29251
29250
29252
xbps = callPackage ../tools/package-management/xbps { };