depot/third_party/nixpkgs/pkgs/by-name/gu/guile-disarchive/package.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

51 lines
930 B
Nix

{ stdenv
, lib
, fetchurl
, guile
, autoreconfHook
, guile-gcrypt
, guile-lzma
, guile-quickcheck
, pkg-config
, zlib
}:
stdenv.mkDerivation rec {
pname = "guile-disarchive";
version = "0.5.0";
src = fetchurl {
url = "https://files.ngyro.com/disarchive/disarchive-${version}.tar.gz";
hash = "sha256-Agt7v5HTpaskXuYmMdGDRIolaqCHUpwd/CfbZCe9Ups=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
guile
pkg-config
];
buildInputs = [
guile
zlib
];
propagatedBuildInputs = [
guile-gcrypt
guile-lzma
];
nativeCheckInputs = [ guile-quickcheck ];
doCheck = !stdenv.isDarwin;
meta = with lib; {
description = "Disassemble software into data and metadata";
homepage = "https://ngyro.com/software/disarchive.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ foo-dogsquared ];
platforms = guile.meta.platforms;
};
}