Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 29 lines 654 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "915resolution"; 9 version = "0.5.3"; 10 11 src = fetchurl { 12 url = "http://915resolution.mango-lang.org/915resolution-${version}.tar.gz"; 13 sha256 = "0hmmy4kkz3x6yigz6hk99416ybznd67dpjaxap50nhay9f1snk5n"; 14 }; 15 16 patchPhase = "rm *.o"; 17 installPhase = "mkdir -p $out/sbin; cp 915resolution $out/sbin/"; 18 19 meta = { 20 homepage = "http://915resolution.mango-lang.org/"; 21 description = "Tool to modify Intel 800/900 video BIOS"; 22 mainProgram = "915resolution"; 23 platforms = [ 24 "i686-linux" 25 "x86_64-linux" 26 ]; 27 license = lib.licenses.publicDomain; 28 }; 29}