Skip to content

Commit

Permalink
addpkg: ocis-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
A1ca7raz committed Feb 1, 2024
1 parent f1e7283 commit b399600
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 8 deletions.
5 changes: 5 additions & 0 deletions nvfetcher.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ fetch.url = "https://download.geonames.org/export/dump/admin2Codes.txt"
src.github = "minio/kes"
fetch.github = "minio/kes"

[ocis-bin]
src.github_tag = "owncloud/ocis"
src.prefix = "v"
fetch.url = "https://github.com/owncloud/ocis/releases/download/v$ver/ocis-$ver-linux-amd64"

[wemeet]
src.manual = "3.14.0.401"
fetch.url = "https://updatecdn.meeting.qq.com/cos/1b001ef75914a1d6948decb8c2550b47/TencentMeeting_0300000000_3.14.0.401_x86_64_default.publish.deb"
23 changes: 19 additions & 4 deletions pkgs/_sources/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
"type": "url",
"url": "https://download.geonames.org/export/dump/admin1CodesASCII.txt"
},
"version": "2024-01-30T15:19:40+08:00"
"version": "2024-02-02T02:56:02+08:00"
},
"geonames-admin2Codes": {
"cargoLocks": null,
Expand All @@ -167,7 +167,7 @@
"type": "url",
"url": "https://download.geonames.org/export/dump/admin2Codes.txt"
},
"version": "2024-01-30T15:19:40+08:00"
"version": "2024-02-02T02:56:02+08:00"
},
"geonames-cities500": {
"cargoLocks": null,
Expand All @@ -178,11 +178,11 @@
"pinned": false,
"src": {
"name": null,
"sha256": "sha256-SIJBzYecTH5/YShBec/vYcKBnDtsFUY8djbIvXna/ps=",
"sha256": "sha256-EeGEJgAfzhIUJSsG5nx9ab758/92KUiM7B6FGp7rVac=",
"type": "url",
"url": "https://download.geonames.org/export/dump/cities500.zip"
},
"version": "2024-01-30T15:19:40+08:00"
"version": "2024-02-02T02:56:02+08:00"
},
"kes": {
"cargoLocks": null,
Expand All @@ -204,6 +204,21 @@
},
"version": "2024-01-11T13-09-29Z"
},
"ocis-bin": {
"cargoLocks": null,
"date": null,
"extract": null,
"name": "ocis-bin",
"passthru": null,
"pinned": false,
"src": {
"name": null,
"sha256": "sha256-gaJW9Ul/cJTgYv1pa0JoaHY5NIqDYWN2IxapfjDVAdw=",
"type": "url",
"url": "https://github.com/owncloud/ocis/releases/download/v5.0.0-rc.3/ocis-5.0.0-rc.3-linux-amd64"
},
"version": "5.0.0-rc.3"
},
"wemeet": {
"cargoLocks": null,
"date": null,
Expand Down
16 changes: 12 additions & 4 deletions pkgs/_sources/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,26 +81,26 @@
};
geonames-admin1Codes = {
pname = "geonames-admin1Codes";
version = "2024-01-30T15:19:40+08:00";
version = "2024-02-02T02:56:02+08:00";
src = fetchurl {
url = "https://download.geonames.org/export/dump/admin1CodesASCII.txt";
sha256 = "sha256-1ZSL1L4pfwCtAk2SAHVKuCmgGSnHYqmWD43kByGUtuk=";
};
};
geonames-admin2Codes = {
pname = "geonames-admin2Codes";
version = "2024-01-30T15:19:40+08:00";
version = "2024-02-02T02:56:02+08:00";
src = fetchurl {
url = "https://download.geonames.org/export/dump/admin2Codes.txt";
sha256 = "sha256-DNyNV5QV2DEqZkwAr5Ht7BRobM1jBjGPGcKrKp6yIfA=";
};
};
geonames-cities500 = {
pname = "geonames-cities500";
version = "2024-01-30T15:19:40+08:00";
version = "2024-02-02T02:56:02+08:00";
src = fetchurl {
url = "https://download.geonames.org/export/dump/cities500.zip";
sha256 = "sha256-SIJBzYecTH5/YShBec/vYcKBnDtsFUY8djbIvXna/ps=";
sha256 = "sha256-EeGEJgAfzhIUJSsG5nx9ab758/92KUiM7B6FGp7rVac=";
};
};
kes = {
Expand All @@ -114,6 +114,14 @@
sha256 = "sha256-nxYfLFmv5tgN8nZ9tVvEpsMrrBx9pLZigezl6CWBG1o=";
};
};
ocis-bin = {
pname = "ocis-bin";
version = "5.0.0-rc.3";
src = fetchurl {
url = "https://github.com/owncloud/ocis/releases/download/v5.0.0-rc.3/ocis-5.0.0-rc.3-linux-amd64";
sha256 = "sha256-gaJW9Ul/cJTgYv1pa0JoaHY5NIqDYWN2IxapfjDVAdw=";
};
};
wemeet = {
pname = "wemeet";
version = "3.14.0.401";
Expand Down
18 changes: 18 additions & 0 deletions pkgs/uncategorized/ocis-bin/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
source,
lib,
stdenv
}:
stdenv.mkDerivation {
inherit (source) pname version src;
dontUnpack = true;
installPhase = ''
install -D $src $out/bin/ocis
'';

meta = with lib; {
description = "ownCloud Infinite Scale Stack";
homepage = "https://github.com/owncloud/ocis";
license = licenses.asl20;
};
}

0 comments on commit b399600

Please sign in to comment.