nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 46 lines 994 B view raw
1{ 2 lib, 3 mkDerivation, 4 fetchFromGitHub, 5 cmake, 6 pkg-config, 7 libchewing, 8 qtbase, 9 qttools, 10}: 11 12mkDerivation rec { 13 pname = "chewing-editor"; 14 version = "0.1.1"; 15 16 src = fetchFromGitHub { 17 owner = "chewing"; 18 repo = pname; 19 rev = version; 20 sha256 = "0kc2hjx1gplm3s3p1r5sn0cyxw3k1q4gyv08q9r6rs4sg7xh2w7w"; 21 }; 22 23 doCheck = true; 24 25 nativeBuildInputs = [ 26 cmake 27 pkg-config 28 ]; 29 buildInputs = [ 30 libchewing 31 qtbase 32 qttools 33 ]; 34 35 meta = with lib; { 36 description = "Cross platform chewing user phrase editor"; 37 mainProgram = "chewing-editor"; 38 longDescription = '' 39 chewing-editor is a cross platform chewing user phrase editor. It provides a easy way to manage user phrase. With it, user can customize their user phrase to increase input performance. 40 ''; 41 homepage = "https://github.com/chewing/chewing-editor"; 42 license = licenses.gpl2Plus; 43 maintainers = [ maintainers.ShamrockLee ]; 44 platforms = platforms.all; 45 }; 46}