mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
32 lines
663 B
Nix
32 lines
663 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, c-ares, openssl ? null }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sipsak";
|
|
version = "4.1.2.1";
|
|
|
|
buildInputs = [
|
|
autoreconfHook
|
|
openssl
|
|
c-ares
|
|
];
|
|
|
|
NIX_CFLAGS_COMPILE = "--std=gnu89";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sipwise";
|
|
repo = "sipsak";
|
|
rev = "mr${version}";
|
|
hash = "sha256-y9P6t3xjazRNT6lDZAx+CttdyXruC6Q14b8XF9loeU4=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/sipwise/sipsak";
|
|
description = "SIP Swiss army knife";
|
|
license = lib.licenses.gpl2;
|
|
maintainers = with maintainers; [ sheenobu ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
|
|
}
|
|
|