mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
bbd4c89959
Diff: https://github.com/Jacalz/rymdport/compare/v3.3.1...v3.3.2 Changelog: https://github.com/Jacalz/rymdport/blob/v3.3.2/CHANGELOG.md
53 lines
1020 B
Nix
53 lines
1020 B
Nix
{ lib
|
|
, stdenv
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, libGL
|
|
, xorg
|
|
, Carbon
|
|
, Cocoa
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "rymdport";
|
|
version = "3.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Jacalz";
|
|
repo = "rymdport";
|
|
rev = "v${version}";
|
|
hash = "sha256-UATtfJPpB0twIh6vsgfMSbu9S0F36l+PQgpWYDBmy4M=";
|
|
};
|
|
|
|
vendorHash = "sha256-XJracr2oblyVid6QKri0EUr5LrEgA3w27PPqbqWcNh8=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = with xorg; [
|
|
libGL
|
|
libX11
|
|
libXcursor
|
|
libXext
|
|
libXi
|
|
libXinerama
|
|
libXrandr
|
|
libXxf86vm
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
Carbon
|
|
Cocoa
|
|
IOKit
|
|
];
|
|
|
|
meta = {
|
|
description = "Easy encrypted file, folder, and text sharing between devices";
|
|
homepage = "https://github.com/Jacalz/rymdport";
|
|
changelog = "https://github.com/Jacalz/rymdport/blob/${src.rev}/CHANGELOG.md";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|