mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
gummy: use finalAttrs.finalPackage
This commit is contained in:
parent
644c9ab3d6
commit
eba30179f4
@ -2,7 +2,6 @@
|
||||
, stdenv
|
||||
, fetchFromGitea
|
||||
, testers
|
||||
, gummy
|
||||
, cmake
|
||||
, libX11
|
||||
, libXext
|
||||
@ -17,7 +16,7 @@
|
||||
, spdlog
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gummy";
|
||||
version = "0.6.0";
|
||||
|
||||
@ -25,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
domain = "codeberg.org";
|
||||
owner = "fusco";
|
||||
repo = "gummy";
|
||||
rev = version;
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-kATieFf+dEpcYgSEPoETacP7R+u2dOrg7rOhIkNQ1uE=";
|
||||
};
|
||||
|
||||
@ -65,7 +64,7 @@ stdenv.mkDerivation rec {
|
||||
ln -s $out/libexec/gummyd $out/bin/gummyd
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = gummy; };
|
||||
passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://codeberg.org/fusco/gummy";
|
||||
@ -77,4 +76,4 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user