diff options
author | SamueleFacenda <samuele.facenda@gmail.com> | 2023-09-05 10:06:41 +0200 |
---|---|---|
committer | Manuel Bärenz <programming@manuelbaerenz.de> | 2024-03-06 15:42:30 +0100 |
commit | 29d830243aeeded398237f0743f4d7265967df3c (patch) | |
tree | 7d378a2219d78295c3c33bb77c70cb11f9eb576f /pkgs/by-name/xd | |
parent | f93dfa6038ff90ca50ba91e81a382a9816ef9cde (diff) |
xdg-desktop-portal-shana: init at 0.3.9
Signed-off-by: SamueleFacenda <samuele.facenda@gmail.com>
Diffstat (limited to 'pkgs/by-name/xd')
-rw-r--r-- | pkgs/by-name/xd/xdg-desktop-portal-shana/package.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/by-name/xd/xdg-desktop-portal-shana/package.nix b/pkgs/by-name/xd/xdg-desktop-portal-shana/package.nix new file mode 100644 index 0000000000000..b5e7aa0c3c011 --- /dev/null +++ b/pkgs/by-name/xd/xdg-desktop-portal-shana/package.nix @@ -0,0 +1,44 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, meson +, ninja +, xdg-desktop-portal +}: + +rustPlatform.buildRustPackage rec { + pname = "xdg-desktop-portal-shana"; + version = "0.3.9"; + + src = fetchFromGitHub { + owner = "Decodetalkers"; + repo = "xdg-desktop-portal-shana"; + rev = "v${version}"; + sha256 = "cgiWlZbM0C47CisR/KlSV0xqfeKgM41QaQihjqSy9CU="; + }; + + nativeBuildInputs = [ + meson + ninja + ]; + + buildInputs = [ + xdg-desktop-portal + ]; + + # Needed for letting meson run. rustPackage will overwrite it otherwise. + configurePhase = ""; + + mesonBuildType = "release"; + + cargoHash = "sha256-uDM4a7AB0753c/H1nfic/LjWrLmjEvi/p2S/tLIDXaQ="; + + meta = with lib; { + description = "A filechooser portal backend for any desktop environment"; + homepage = "https://github.com/Decodetalkers/xdg-desktop-portal-shana"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = [ maintainers.samuelefacenda ]; + }; + +} |