From cffd4d9d5ba9222fdae620b2aaecd4082641c70c Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 30 Mar 2023 19:39:35 +0200 Subject: [PATCH] packages/amberol: use package from nixpkgs --- packages/nixpak/amberol/amberol.nix | 17 ----------------- packages/nixpak/amberol/default.nix | 4 ++-- 2 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 packages/nixpak/amberol/amberol.nix diff --git a/packages/nixpak/amberol/amberol.nix b/packages/nixpak/amberol/amberol.nix deleted file mode 100644 index 5c31e10..0000000 --- a/packages/nixpak/amberol/amberol.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ amberol, fetchFromGitLab, rustPlatform }: - -amberol.overrideAttrs (_: rec { - version = "0.9.1"; - src = fetchFromGitLab { - domain = "gitlab.gnome.org"; - owner = "World"; - repo = "amberol"; - rev = version; - hash = "sha256-UZFOQw9eXSyCey4YQ4pWV91BIo+5tFw1N8es5H03+fc="; - }; - cargoDeps = rustPlatform.fetchCargoTarball { - inherit src; - name = "amberol-${version}"; - hash = "sha256-ebo718+HAZFd7Pjy06jAzmaLdjR3o4Hn0xEeO7yiIC0="; - }; -}) diff --git a/packages/nixpak/amberol/default.nix b/packages/nixpak/amberol/default.nix index 4e7e672..1523353 100644 --- a/packages/nixpak/amberol/default.nix +++ b/packages/nixpak/amberol/default.nix @@ -1,4 +1,4 @@ -{ mkNixPak, callPackage }: +{ mkNixPak, amberol }: mkNixPak { config = { sloth, ... }: { @@ -19,6 +19,6 @@ mkNixPak { "/srv/data/music" ]; }; - app.package = callPackage ./amberol.nix {}; + app.package = amberol; }; } \ No newline at end of file