Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 23 lines 675 B view raw
1{ stdenv, fetchurl, cmake }: 2 3let 4 version = "0.1.0"; 5 pname = "interception-tools-caps2esc"; 6in stdenv.mkDerivation { 7 name = "${pname}-${version}"; 8 9 src = fetchurl { 10 url = "https://gitlab.com/interception/linux/plugins/caps2esc/repository/v${version}/archive.tar.gz"; 11 sha256 = "1fdxqp54gwsrm2c63168l256nfwdk4mvgr7nlwdv62wd3l7zzrg8"; 12 }; 13 14 buildInputs = [ cmake ]; 15 16 meta = with stdenv.lib; { 17 homepage = "https://gitlab.com/interception/linux/plugins/caps2esc"; 18 description = "Transforming the most useless key ever into the most useful one"; 19 license = licenses.mit; 20 maintainers = [ maintainers.vyp ]; 21 platforms = platforms.linux; 22 }; 23}