Skip to content

Commit fdf6cff

Browse files
BerriJFliegendeWurst
authored andcommitted
code-nautilus: init at 0-unstable-2024-09-11
1 parent 98eaeec commit fdf6cff

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
stdenv,
3+
lib,
4+
fetchFromGitHub,
5+
nautilus-python,
6+
python3,
7+
}:
8+
stdenv.mkDerivation rec {
9+
pname = "code-nautilus";
10+
version = "0-unstable-2024-09-11";
11+
12+
src = fetchFromGitHub {
13+
owner = "harry-cpp";
14+
repo = "code-nautilus";
15+
rev = "8ea0ce78f3f1f7a6af5f9e9cf93fc3e70015f61e";
16+
sha256 = "u10laS3BwUVCJYlQ6WivU7o/sFFv6cTeV+uxBEdD7oA=";
17+
};
18+
19+
buildInputs = [
20+
nautilus-python
21+
python3.pkgs.pygobject3
22+
];
23+
24+
installPhase = ''
25+
runHook preInstall
26+
install -Dm555 ./code-nautilus.py -t $out/share/nautilus-python/extensions
27+
runHook postInstall
28+
'';
29+
30+
meta = with lib; {
31+
description = "VSCode extension for Nautilus: 'Open in Code'";
32+
homepage = "https://github.com/harry-cpp/code-nautilus";
33+
license = licenses.unlicense;
34+
platforms = platforms.linux;
35+
maintainers = with maintainers; [ berrij ];
36+
};
37+
38+
}

0 commit comments

Comments
 (0)