packages/amberol: use package from nixpkgs

This commit is contained in:
Max Headroom 2023-03-30 19:39:35 +02:00
parent 4d04e3821b
commit cffd4d9d5b
2 changed files with 2 additions and 19 deletions

View file

@ -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=";
};
})

View file

@ -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;
};
}