base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / xo / xortool / package.nix
bloba59eb77d8cf2c3c25a6fd3996eb66e92fec5615f
2   lib,
3   fetchFromGitHub,
4   python3Packages,
5 }:
7 python3Packages.buildPythonApplication rec {
8   pname = "xortool";
9   version = "1.0.0";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "hellman";
14     repo = "xortool";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-xxaWhGUh/r34eS2TJt8c3Q795OsZOoQLXQllJGJTjqY=";
17   };
19   build-system = with python3Packages; [ poetry-core ];
21   dependencies = with python3Packages; [
22     docopt
23     importlib-metadata
24   ];
26   # Project has no tests
27   doCheck = false;
29   pythonImportsCheck = [ "xortool" ];
31   meta = with lib; {
32     description = "Tool to analyze multi-byte XOR cipher";
33     homepage = "https://github.com/hellman/xortool";
34     changelog = "https://github.com/hellman/xortool/releases/tag/v${version}";
35     license = licenses.mit;
36     maintainers = with maintainers; [ fab ];
37   };