git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #110102 from fabaff/xortool

xortool: init at 1.0.0

commitdb6c296a52b395b6e51788dd5f1d89346faf8eca authorSandro <sandro.jaeckel@gmail.com> dateThu 28 Jan 2021, 18:30 (6 years ago) parent7e7a1176faef4a
2 files changed+37
pkgs/tools/security/xortool/default.nix+35 pkgs/top-level/all-packages.nix+2
pkgs/tools/security/xortool/default.nixnew file+35
@@ -0,0 +1,35 @@
1+{ lib
2+, buildPythonApplication
3+, docopt
4+, fetchFromGitHub
5+, importlib-metadata
6+, poetry-core
7+}:
8+
9+buildPythonApplication rec {
10+ pname = "xortool";
11+ version = "1.0.0";
12+ format = "pyproject";
13+
14+ src = fetchFromGitHub {
15+ owner = "hellman";
16+ repo = pname;
17+ rev = "v${version}";
18+ sha256 = "19lfadi28r89bl5q8fhrxgjgs3nx3kgjd4rdg7wbvzi1cn29c5n7";
19+ };
20+
21+ nativeBuildInputs = [ poetry-core ];
22+
23+ propagatedBuildInputs = [ docopt importlib-metadata ];
24+
25+ # Project has no tests
26+ doCheck = false;
27+ pythonImportsCheck = [ "xortool" ];
28+
29+ meta = with lib; {
30+ description = "Tool to analyze multi-byte XOR cipher";
31+ homepage = "https://github.com/hellman/xortool";
32+ license = with licenses; [ mit ];
33+ maintainers = with maintainers; [ fab ];
34+ };
35+}
pkgs/top-level/all-packages.nix+2
@@ -29377,6 +29377,8 @@ in
2937729377
2937829378 xboxdrv = callPackage ../misc/drivers/xboxdrv { };
2937929379
29380+ xortool = python3Packages.callPackage ../tools/security/xortool { };
29381+
2938029382 xow = callPackage ../misc/drivers/xow { };
2938129383
2938229384 xbps = callPackage ../tools/package-management/xbps { };