nixpkgs/pkgs/tools/networking/sipsak/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

30 lines
676 B
Nix

{ stdenv, fetchurl, 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 = fetchurl {
url = "https://github.com/sipwise/sipsak/archive/mr${version}.tar.gz";
sha256 = "769fe59966b1962b67aa35aad7beb9a2110ebdface36558072a05c6405fb5374";
};
meta = with stdenv.lib; {
homepage = https://github.com/sipwise/sipsak;
description = "SIP Swiss army knife";
license = stdenv.lib.licenses.gpl2;
maintainers = with maintainers; [ sheenobu ];
platforms = with platforms; unix;
};
}