Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
unstableGitUpdater,
|
|
replaceVars,
|
|
file-roller,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "file-roller-contract";
|
|
version = "0-unstable-2021-02-22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = "file-roller-contract";
|
|
rev = "cf001d84a7e2ddcfbee2cfdb19885798a869833e";
|
|
sha256 = "sha256-jnXq44NiQiSYsvaBF828TklLg9d6z6n+gCZKgbFiERI=";
|
|
};
|
|
|
|
patches = [
|
|
(replaceVars ./exec-path.patch {
|
|
file_roller = file-roller;
|
|
})
|
|
];
|
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/contractor
|
|
cp *.contract $out/share/contractor/
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = unstableGitUpdater {
|
|
url = "https://github.com/elementary/file-roller-contract.git";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Contractor extension for File Roller";
|
|
homepage = "https://github.com/elementary/file-roller-contract";
|
|
license = licenses.gpl3Plus;
|
|
teams = [ teams.pantheon ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|