mirror of
https://git.suyu.dev/suyu/nix-flake.git
synced 2025-12-21 13:26:00 +01:00
20 lines
480 B
Nix
20 lines
480 B
Nix
{ stdenv, fetchurl, unzip, gitUpdater }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "nx_tzdb";
|
|
version = "221202";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/lat9nq/tzdb_to_nx/releases/download/${version}/${version}.zip";
|
|
hash = "sha256-mRzW+iIwrU1zsxHmf+0RArU8BShAoEMvCz+McXFFK3c=";
|
|
};
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
buildCommand = ''
|
|
unzip $src -d $out
|
|
'';
|
|
|
|
passthru.updateScript = gitUpdater {
|
|
url = "https://github.com/lat9nq/tzdb_to_nx.git";
|
|
};
|
|
}
|