nixpkgs/pkgs/tools/X11/wmutils-opt/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

26 lines
582 B
Nix

{ stdenv, fetchFromGitHub, libxcb }:
stdenv.mkDerivation rec {
pname = "wmutils-opt";
version = "1.0";
src = fetchFromGitHub {
owner = "wmutils";
repo = "opt";
rev = "v${version}";
sha256 = "0gd05qsir1lnzfrbnfh08qwsryz7arwj20f886nqh41m87yqaljz";
};
buildInputs = [ libxcb ];
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Optional addons to wmutils";
homepage = https://github.com/wmutils/opt;
license = licenses.isc;
maintainers = with maintainers; [ vifino ];
platforms = platforms.unix;
};
}