correct the name of lotte-art

This commit is contained in:
Charlotte 🦝 Delenk 2022-09-25 15:52:40 +01:00
parent 0094b20a4d
commit dfcec283ac
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -1,24 +1,20 @@
{
stdenv,
fetchgit,
lib,
}: let
{ stdenv, fetchgit, lib }: let
srcInfo = builtins.fromJSON (builtins.readFile ./source.json);
src = fetchgit {
inherit (srcInfo) url rev sha256 fetchLFS fetchSubmodules deepClone leaveDotGit;
};
in
src.overrideAttrs (_: {
pname = "lotte-art";
version = srcInfo.date;
passthru.updateScript = [
../../scripts/update-git.sh
"https://git.chir.rs/darkkirb/lotte-art"
"art/lotte/source.json"
"--fetch-lfs"
];
meta = {
description = "Art I commissioned (mostly)";
license = lib.licenses.cc-by-nc-sa-40;
};
})
in src.overrideAttrs (_: rec {
name = "${pname}-${version}";
pname = "lotte-art";
version = srcInfo.date;
passthru.updateScript = [
../../scripts/update-git.sh
"https://git.chir.rs/darkkirb/lotte-art"
"art/lotte/source.json"
"--fetch-lfs"
];
meta = {
description = "Art I commissioned (mostly)";
license = lib.licenses.cc-by-nc-sa-40;
};
})