mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
pmenu: use finalAttrs
pattern
This commit is contained in:
parent
9ab9515d0a
commit
50a7139fbd
@ -12,15 +12,15 @@
|
||||
, conf ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pmenu";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "phillbush";
|
||||
repo = "pmenu";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-7NI5az3LxOYEnsts8Qqi3gvO3dXpNjPDOTW2c5Y25Lc=";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-7NI5az3LxOYEnsts8Qqi3gvO3dXpNjPDOTW2c5Y25Lc=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -45,16 +45,16 @@ stdenv.mkDerivation rec {
|
||||
"PREFIX=\${out}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "A pie-menu tool";
|
||||
homepage = "https://github.com/phillbush/pmenu";
|
||||
license = lib.licenses.mit;
|
||||
longDescription = ''
|
||||
πmenu is a pie menu utility for X. πmenu receives a menu specification in
|
||||
stdin, shows a menu for the user to select one of the options, and outputs
|
||||
the option selected to stdout.
|
||||
'';
|
||||
homepage = "https://github.com/phillbush/pmenu";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ azahi ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ lib.maintainers.azahi ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user