mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
komorebi: use finalAttrs.finalPackage
This commit is contained in:
parent
879556bc97
commit
76acfdb15d
@ -13,17 +13,16 @@
|
||||
, ninja
|
||||
, wrapGAppsHook3
|
||||
, testers
|
||||
, komorebi
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "komorebi";
|
||||
version = "2.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Komorebi-Fork";
|
||||
repo = "komorebi";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-vER69dSxu4JuWNAADpkxHE/zjOMhQp+Fc21J+JHQ8xk=";
|
||||
};
|
||||
|
||||
@ -44,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
clutter-gst
|
||||
];
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = komorebi; };
|
||||
passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Beautiful and customizable wallpaper manager for Linux";
|
||||
@ -53,4 +52,4 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ kranzes ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user