Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

39 lines
857 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 = {
description = "VSCode extension for Nautilus: 'Open in Code'";
homepage = "https://github.com/harry-cpp/code-nautilus";
license = lib.licenses.unlicense;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ berrij ];
};
}