Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

56 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchurl,
fetchpatch,
pkg-config,
glib,
libxml2,
libxslt,
getopt,
dysnomia,
libintl,
libiconv,
}:
stdenv.mkDerivation rec {
pname = "disnix";
version = "0.10.2";
src = fetchurl {
url = "https://github.com/svanderburg/disnix/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
sha256 = "0mc0wy8fca60w0d56cljq2cw1xigbp2dklb43fxa5xph94j3i49a";
};
patches = [
# https://github.com/svanderburg/disnix/pull/21
# fix implicit function declaration
(fetchpatch {
name = "add-stdlib.h.patch";
url = "https://github.com/svanderburg/disnix/commit/aa969f1d152acb35fc70c6c8db249b61f5a9eb41.patch";
hash = "sha256-RZNVVdZ7Rx8n7qzbJOw8BHL8f07mvh8IKpfsWexuVLU=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
glib
libxml2
libxslt
getopt
libintl
libiconv
dysnomia
];
meta = {
description = "Nix-based distributed service deployment tool";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [
sander
tomberek
];
platforms = lib.platforms.unix;
};
}