nixpkgs-suyu/pkgs/development/libraries/wayland/protocols.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

27 lines
640 B
Nix

{ lib, stdenv, fetchurl, pkgconfig
, wayland
}:
stdenv.mkDerivation rec {
pname = "wayland-protocols";
version = "1.17";
src = fetchurl {
url = "https://wayland.freedesktop.org/releases/${pname}-${version}.tar.xz";
sha256 = "0bw1sqixqk2a7mqw630cs4dlgcp5yib90vyikzm3lr05jz7ij4yz";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ wayland ];
meta = {
description = "Wayland protocol extensions";
homepage = https://wayland.freedesktop.org/;
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ];
};
passthru.version = version;
}