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
39 lines
855 B
Nix
39 lines
855 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
nautilus-python,
|
|
python3,
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "code-nautilus";
|
|
version = "0-unstable-2024-09-11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "harry-cpp";
|
|
repo = "code-nautilus";
|
|
rev = "8ea0ce78f3f1f7a6af5f9e9cf93fc3e70015f61e";
|
|
sha256 = "u10laS3BwUVCJYlQ6WivU7o/sFFv6cTeV+uxBEdD7oA=";
|
|
};
|
|
|
|
buildInputs = [
|
|
nautilus-python
|
|
python3.pkgs.pygobject3
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -Dm555 ./code-nautilus.py -t $out/share/nautilus-python/extensions
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "VSCode extension for Nautilus: 'Open in Code'";
|
|
homepage = "https://github.com/harry-cpp/code-nautilus";
|
|
license = licenses.unlicense;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ berrij ];
|
|
};
|
|
|
|
}
|