btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / dy / dydisnix / package.nix
blobe6670ff2e1142ad044f004b7a97caed4d4f841c0
1 { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, glib
2 , libxml2, libxslt, getopt, libiconv, gettext, nix, disnix
3 }:
5 stdenv.mkDerivation rec {
6   version = "unstable-2020-11-02";
7   pname = "dydisnix";
9   src = fetchFromGitHub {
10     owner = "svanderburg";
11     repo = "dydisnix";
12     rev = "12ca1516bc1e5d161ac68f5d8252a0a2f353c8cf";
13     sha256 = "00f341274hwwil8mlgcgq331vfca9sscvpdbgkxsjvbhcqd8qa52";
14   };
16   nativeBuildInputs = [ pkg-config autoconf automake libtool ];
17   buildInputs = [ glib libxml2 libxslt getopt nix disnix libiconv gettext ];
19   preConfigure = ''
20     ./bootstrap
21   '';
23   meta = {
24     description = "Toolset enabling self-adaptive redeployment on top of Disnix";
25     longDescription = ''
26       Dynamic Disnix is a (very experimental!) prototype extension framework for Disnix supporting dynamic (re)deployment of service-oriented systems.
27     '';
28     license = lib.licenses.lgpl21Plus;
29     maintainers = [ lib.maintainers.tomberek ];
30     platforms = lib.platforms.unix;
31   };