nixos-configs/packages/yuzu/nx_tzdb.nix

22 lines
380 B
Nix
Raw Normal View History

2024-07-07 16:55:16 -04:00
{
stdenv,
fetchurl,
unzip,
...
}:
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
'';
}