python312Packages.slack-sdk: 3.33.3 -> 3.33.4 (#358119)
[NixPkgs.git] / pkgs / tools / package-management / disnix / default.nix
blobe126c133108de882a2e9f18d5f31d08cf3710d10
1 { lib, stdenv, fetchurl, fetchpatch, pkg-config, glib, libxml2, libxslt, getopt, dysnomia, libintl, libiconv }:
3 stdenv.mkDerivation rec {
4   pname = "disnix";
5   version = "0.10.2";
7   src = fetchurl {
8     url = "https://github.com/svanderburg/disnix/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
9     sha256 = "0mc0wy8fca60w0d56cljq2cw1xigbp2dklb43fxa5xph94j3i49a";
10   };
12   patches = [
13     # https://github.com/svanderburg/disnix/pull/21
14     # fix implicit function declaration
15     (fetchpatch {
16       name = "add-stdlib.h.patch";
17       url = "https://github.com/svanderburg/disnix/commit/aa969f1d152acb35fc70c6c8db249b61f5a9eb41.patch";
18       hash = "sha256-RZNVVdZ7Rx8n7qzbJOw8BHL8f07mvh8IKpfsWexuVLU=";
19     })
20   ];
22   nativeBuildInputs = [ pkg-config ];
23   buildInputs = [ glib libxml2 libxslt getopt libintl libiconv dysnomia ];
25   meta = {
26     description = "Nix-based distributed service deployment tool";
27     license = lib.licenses.lgpl21Plus;
28     maintainers = with lib.maintainers; [ sander tomberek ];
29     platforms = lib.platforms.unix;
30   };