libbde: move to by-name; nixfmt

This commit is contained in:
wxt 2024-09-29 18:56:32 +08:00
parent b7e838f0bb
commit 0f736cf05e
No known key found for this signature in database
GPG Key ID: 8281D5EE2D1825A4
2 changed files with 19 additions and 16 deletions

View File

@ -1,29 +1,34 @@
{ lib
, stdenv
, fetchurl
, fuse
, ncurses
, python3
{
lib,
stdenv,
fetchurl,
fuse,
ncurses,
python3,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "libbde";
version = "20221031";
src = fetchurl {
url = "https://github.com/libyal/libbde/releases/download/${version}/${pname}-alpha-${version}.tar.gz";
url = "https://github.com/libyal/libbde/releases/download/${finalAttrs.version}/libbde-alpha-${finalAttrs.version}.tar.gz";
sha256 = "sha256-uMbwofboePCFWlxEOdRbZK7uZuj0MZC/qusWuu0Bm7g=";
};
buildInputs = [ fuse ncurses python3 ];
buildInputs = [
fuse
ncurses
python3
];
configureFlags = [ "--enable-python" ];
meta = with lib; {
meta = {
description = "Library to access the BitLocker Drive Encryption (BDE) format";
homepage = "https://github.com/libyal/libbde/";
license = licenses.lgpl3;
maintainers = with maintainers; [ eliasp ];
platforms = platforms.all;
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ eliasp ];
platforms = lib.platforms.all;
};
}
})

View File

@ -20751,8 +20751,6 @@ with pkgs;
libbass_fx = (callPackage ../development/libraries/audio/libbass { }).bass_fx;
libbassmix = (callPackage ../development/libraries/audio/libbass { }).bassmix;
libbde = callPackage ../development/libraries/libbde { };
libbdplus = callPackage ../development/libraries/libbdplus { };
libblockdev = callPackage ../development/libraries/libblockdev { };