Merge pull request #261045 from foo-dogsquared/add-guile-disarchive

guile-quickcheck: init at 0.1.0, guile-disarchive: init at 0.5.0
This commit is contained in:
Weijia Wang 2023-10-14 22:58:07 +02:00 committed by GitHub
commit ee5fa083ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 75 additions and 1 deletions

View File

@ -0,0 +1,45 @@
{ 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=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
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;
};
}

View File

@ -20,10 +20,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
guile
pkg-config
scheme-bytestructures
];
buildInputs = [ guile ];
propagatedBuildInputs = [ xz ];
propagatedNativeBuildInputs = [ scheme-bytestructures ];
doCheck = true;

View File

@ -0,0 +1,29 @@
{ stdenv
, lib
, fetchurl
, pkg-config
, guile
}:
stdenv.mkDerivation rec {
pname = "guile-quickcheck";
version = "0.1.0";
src = fetchurl {
url = "https://files.ngyro.com/guile-quickcheck/guile-quickcheck-${version}.tar.gz";
hash = "sha256-y5msW+mbQ7YeucRS2VNUPokOKoP8g6ysKJ2UMWiIvA4=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ guile ];
doCheck = !stdenv.isDarwin;
meta = with lib; {
homepage = "https://ngyro.com/software/guile-quickcheck.html";
description = "Guile library providing tools for randomized, property-based testing";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ foo-dogsquared ];
platforms = guile.meta.platforms;
};
}