mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00
commit
8f96c25c0e
53
pkgs/by-name/do/donpapi/package.nix
Normal file
53
pkgs/by-name/do/donpapi/package.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "donpapi";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "login-securite";
|
||||
repo = "DonPAPI";
|
||||
rev = "refs/tags/V${version}";
|
||||
hash = "sha256-60aGnsr36X3mf91nH9ud0xyLBqKgzZ4ALucrLGpAuzQ=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"cryptography"
|
||||
"impacket"
|
||||
"pyasn1"
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
cryptography
|
||||
impacket
|
||||
lnkparse3
|
||||
pyasn1
|
||||
pyjwt
|
||||
setuptools
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"donpapi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for dumping DPAPI credentials remotely";
|
||||
homepage = "https://github.com/login-securite/DonPAPI";
|
||||
changelog = "https://github.com/login-securite/DonPAPI/releases/tag/V${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "donpapi";
|
||||
};
|
||||
}
|
42
pkgs/development/python-modules/lnkparse3/default.nix
Normal file
42
pkgs/development/python-modules/lnkparse3/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lnkparse3";
|
||||
version = "1.3.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Matmaus";
|
||||
repo = "LnkParse3";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Ej2Tv1RViHqm2z1EG/cAkImcvtJcwSc3I0DxIL/q8FI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"LnkParse3"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Windows Shortcut file (LNK) parser";
|
||||
homepage = "https://github.com/Matmaus/LnkParse3";
|
||||
changelog = "https://github.com/Matmaus/LnkParse3/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -6791,6 +6791,8 @@ self: super: with self; {
|
||||
|
||||
lmtpd = callPackage ../development/python-modules/lmtpd { };
|
||||
|
||||
lnkparse3 = callPackage ../development/python-modules/lnkparse3 { };
|
||||
|
||||
loca = callPackage ../development/python-modules/loca { };
|
||||
|
||||
localimport = callPackage ../development/python-modules/localimport { };
|
||||
|
Loading…
Reference in New Issue
Block a user