diff --git a/pkgs/os-specific/linux/udisks/2-default.nix b/pkgs/os-specific/linux/udisks/2-default.nix index e3b9ea635d73..0514dac00904 100644 --- a/pkgs/os-specific/linux/udisks/2-default.nix +++ b/pkgs/os-specific/linux/udisks/2-default.nix @@ -47,8 +47,8 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "storaged-project"; repo = "udisks"; - rev = "${pname}-${version}"; - sha256 = "sha256-W0vZY6tYxAJbqxNF3F6F6J6h6XxLT+Fon+LqR6jwFUQ="; + tag = "udisks-${version}"; + hash = "sha256-W0vZY6tYxAJbqxNF3F6F6J6h6XxLT+Fon+LqR6jwFUQ="; }; outputs = [ @@ -154,15 +154,15 @@ stdenv.mkDerivation rec { tests.vm = nixosTests.udisks2; }; - meta = with lib; { + meta = { description = "Daemon, tools and libraries to access and manipulate disks, storage devices and technologies"; homepage = "https://www.freedesktop.org/wiki/Software/udisks/"; - license = with licenses; [ + license = with lib.licenses; [ lgpl2Plus gpl2Plus ]; # lgpl2Plus for the library, gpl2Plus for the tools & daemon - maintainers = with maintainers; [ johnazoidberg ]; - teams = [ teams.freedesktop ]; - platforms = platforms.linux; + maintainers = with lib.maintainers; [ johnazoidberg ]; + teams = [ lib.teams.freedesktop ]; + platforms = lib.platforms.linux; }; }