Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "treeland-protocols"; 10 version = "0.4.5"; 11 12 src = fetchFromGitHub { 13 owner = "linuxdeepin"; 14 repo = pname; 15 rev = version; 16 hash = "sha256-SS4jnfr/9Ec3qpnHS4EjQViekBRMix5oz7b9qhNZpfY="; 17 }; 18 19 nativeBuildInputs = [ 20 cmake 21 ]; 22 23 meta = { 24 description = "Wayland protocol extensions for treeland"; 25 homepage = "https://github.com/linuxdeepin/treeland-protocols"; 26 license = with lib.licenses; [ 27 gpl3Only 28 lgpl3Only 29 asl20 30 ]; 31 platforms = lib.platforms.linux; 32 teams = [ lib.teams.deepin ]; 33 }; 34}