nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 51 lines 1.1 kB view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6 libsForQt5, 7 fetchpatch, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "dotherside"; 12 version = "0.9.0"; 13 14 outputs = [ 15 "out" 16 "dev" 17 ]; 18 19 src = fetchFromGitHub { 20 owner = "filcuc"; 21 repo = "dotherside"; 22 tag = "v${finalAttrs.version}"; 23 hash = "sha256-o6RMjJz9vtfCsm+F9UYIiYPEaQn+6EU5jOTLhNHCwo4="; 24 }; 25 26 patches = [ 27 (fetchpatch { 28 name = "bump-minimal-cmake-required-version.patch"; 29 url = "https://github.com/filcuc/dotherside/commit/56cb910b368ad0f8ef1f18ef52d46ab8136ca5d6.patch?full_index=1"; 30 hash = "sha256-xPMfSbTI8HWK6UYYFPATsz29lKbunm43JnaageTBZeY="; 31 }) 32 ]; 33 34 buildInputs = [ 35 libsForQt5.qtbase 36 libsForQt5.qtquickcontrols2 37 ]; 38 39 nativeBuildInputs = [ 40 cmake 41 libsForQt5.wrapQtAppsHook 42 ]; 43 44 meta = { 45 description = "C language library for creating bindings for the Qt QML language"; 46 homepage = "https://filcuc.github.io/dotherside"; 47 license = lib.licenses.lgpl3Plus; 48 platforms = lib.platforms.linux; 49 maintainers = with lib.maintainers; [ toastal ]; 50 }; 51})