1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-24 18:16:21 +03:00
nixpkgs/pkgs/development/python-modules/python-obfuscator/default.nix
2025-04-05 17:34:24 +02:00

37 lines
839 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
regex,
setuptools,
}:
buildPythonPackage rec {
pname = "python-obfuscator";
version = "0.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "davidteather";
repo = "python-obfuscator";
tag = "V${version}";
hash = "sha256-LUD+9vNd1sdigbKG2tm5hE3zLtmor/2LqsIarUWS2Ek=";
};
build-system = [ setuptools ];
dependencies = [ regex ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "python_obfuscator" ];
meta = {
description = "Module to obfuscate code";
homepage = "https://github.com/davidteather/python-obfuscator";
changelog = "https://github.com/davidteather/python-obfuscator/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}