default.nix (509B)
1 { stdenv, fetchFromGitHub }: 2 3 stdenv.mkDerivation rec { 4 name = "ds4ctl-${version}"; 5 version = "0.6.4"; 6 7 src = fetchFromGitHub { 8 owner = "jb55"; 9 repo = "ds4ctl"; 10 rev = version; 11 sha256 = "1zv905bhqxb1ksd96i6pwqq5ai1zkn3xf3xc3ky57cxgvb8p5c2a"; 12 }; 13 14 makeFlags = "PREFIX=$(out)"; 15 16 buildInputs = [ ]; 17 18 meta = with stdenv.lib; { 19 description = "ds4ctl"; 20 homepage = "https://github.com/jb55/ds4ctl"; 21 maintainers = with maintainers; [ jb55 ]; 22 license = licenses.mit; 23 }; 24 }