Merge pull request #226272 from teutat3s/fluffychat-fix-version
fluffychat: fix missing version number on package search
This commit is contained in:
commit
d9be3da45e
|
@ -13,15 +13,16 @@
|
|||
}:
|
||||
|
||||
let
|
||||
version = "1.10.0";
|
||||
# map of nix platform -> expected url platform
|
||||
platformMap = {
|
||||
x86_64-linux = "linux-x86";
|
||||
aarch64-linux = "linux-arm64";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.10.0";
|
||||
name = "fluffychat";
|
||||
stdenv.mkDerivation {
|
||||
inherit version;
|
||||
pname = "fluffychat";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://gitlab.com/api/v4/projects/16112282/packages/generic/fluffychat/${version}/fluffychat-${platformMap.${stdenv.hostPlatform.system}}.tar.gz";
|
||||
|
|
Loading…
Reference in a new issue