nixpkgs/pkgs/development/libraries/libinotify-kqueue/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

25 lines
713 B
Nix

{ stdenv, fetchzip, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "libinotify-kqueue";
version = "20180201";
src = fetchzip {
url = "https://github.com/libinotify-kqueue/libinotify-kqueue/archive/${version}.tar.gz";
sha256 = "0dkh6n0ghhcl7cjkjmpin118h7al6i4vlkmw57vip5f6ngr6q3pl";
};
nativeBuildInputs = [ autoreconfHook ];
doCheck = true;
checkFlags = [ "test" ];
meta = with stdenv.lib; {
description = "Inotify shim for macOS and BSD";
homepage = https://github.com/libinotify-kqueue/libinotify-kqueue;
license = licenses.mit;
maintainers = with maintainers; [ yegortimoshenko ];
platforms = with platforms; darwin ++ freebsd ++ netbsd ++ openbsd;
};
}