flameshot: move override to tv

This commit is contained in:
tv 2023-01-25 19:19:04 +01:00
parent 4f4b6978d5
commit 7efaf1e45f
3 changed files with 15 additions and 14 deletions

View File

@ -9,20 +9,6 @@ self: super: {
};
});
flameshot = super.flameshot.overrideAttrs (old: rec {
name = "flameshot-${version}";
version = "0.10.2";
src = self.fetchFromGitHub {
owner = "flameshot-org";
repo = "flameshot";
rev = "v${version}";
sha256 = "sha256-rZUiaS32C77tFJmEkw/9MGbVTVscb6LOCyWaWO5FyR4=";
};
patches = old.patches or [] ++ [
./flameshot/flameshot_imgur_0.10.2.patch
];
});
# https://github.com/proot-me/PRoot/issues/106
proot = self.writeDashBin "proot" ''
export PROOT_NO_SECCOMP=1

View File

@ -0,0 +1,15 @@
self: super:
super.flameshot.overrideAttrs (old: rec {
name = "flameshot-${version}";
version = "0.10.2";
src = self.fetchFromGitHub {
owner = "flameshot-org";
repo = "flameshot";
rev = "v${version}";
sha256 = "sha256-rZUiaS32C77tFJmEkw/9MGbVTVscb6LOCyWaWO5FyR4=";
};
patches = old.patches or [] ++ [
./flameshot/flameshot_imgur_0.10.2.patch
];
})