nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 55 lines 1.1 kB view raw
1{ 2 lib, 3 argon2-cffi, 4 buildPythonPackage, 5 dissect-cstruct, 6 dissect-util, 7 dissect-target, 8 fetchFromGitHub, 9 pycryptodome, 10 rich, 11 setuptools-scm, 12 setuptools, 13}: 14 15buildPythonPackage rec { 16 pname = "dissect-fve"; 17 version = "4.6"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "fox-it"; 22 repo = "dissect.fve"; 23 tag = version; 24 hash = "sha256-VNkMqnv0LFvqVIQzk086o4UDH3bcK3HgF0HdYmhpNgY="; 25 }; 26 27 build-system = [ 28 setuptools 29 setuptools-scm 30 ]; 31 32 dependencies = [ 33 argon2-cffi 34 dissect-cstruct 35 dissect-util 36 pycryptodome 37 ]; 38 39 optional-dependencies = { 40 full = [ 41 dissect-target 42 rich 43 ]; 44 }; 45 46 pythonImportsCheck = [ "dissect.fve" ]; 47 48 meta = { 49 description = "Dissect module implementing parsers for full volume encryption implementations"; 50 homepage = "https://github.com/fox-it/dissect.fve"; 51 changelog = "https://github.com/fox-it/dissect.fve/releases/tag/${src.tag}"; 52 license = lib.licenses.agpl3Only; 53 maintainers = with lib.maintainers; [ fab ]; 54 }; 55}