Files
nixpkgs/pkgs/by-name/rd/rdwatool/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

50 lines
969 B
Nix

{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication {
pname = "rdwatool";
version = "1.2-unstable-2023-11-27";
pyproject = true;
src = fetchFromGitHub {
owner = "p0dalirius";
repo = "RDWAtool";
rev = "60b7816f06d155bd3d218b76b69d9419b8a82dbe";
hash = "sha256-0mjnZiF8DxVbI8Lr12b7jzn+x+mn6Mel8LaIy8heEdI=";
};
pythonRelaxDeps = [
"urllib3"
];
pythonRemoveDeps = [
"bs4"
];
nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4
requests
urllib3
xlsxwriter
];
pythonImportsCheck = [
"rdwatool"
];
meta = {
description = "Tool to extract information from a Microsoft Remote Desktop Web Access (RDWA) application";
homepage = "https://github.com/p0dalirius/RDWAtool";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "rdwatool";
};
}