nixpkgs/pkgs/by-name/qw/qwerty-fr/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

31 lines
781 B
Nix

{
stdenvNoCC,
fetchFromGitHub,
lib,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "qwerty-fr";
version = "0.7.3";
src = fetchFromGitHub {
owner = "qwerty-fr";
repo = "qwerty-fr";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-TD67wKdaPaXzJzjKFCfRZl3WflUfdnUSQl/fnjr9TF8=";
};
installPhase = ''
mkdir -p $out/share/X11/xkb/symbols
cp $src/linux/us_qwerty-fr $out/share/X11/xkb/symbols
'';
meta = with lib; {
description = "Qwerty keyboard layout with French accents";
changelog = "https://github.com/qwerty-fr/qwerty-fr/blob/v${finalAttrs.version}/linux/debian/changelog";
homepage = "https://github.com/qwerty-fr/qwerty-fr";
license = licenses.mit;
maintainers = with maintainers; [ potb ];
};
})