Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 809 B view raw
1{ 2 callPackage, 3 fetchpatch, 4 fetchzip, 5}: 6 7let 8 rev = "7bcf43f8dbd5c4a67ec573a1248114caa75fa3c2"; 9in 10callPackage ./dvtm.nix { 11 pname = "dvtm-unstable"; 12 version = "unstable-2021-03-09"; 13 14 src = fetchzip { 15 urls = [ 16 "https://github.com/martanne/dvtm/archive/${rev}.tar.gz" 17 "https://git.sr.ht/~martanne/dvtm/archive/${rev}.tar.gz" 18 ]; 19 hash = "sha256-UtkNsW0mvLfbPSAIIZ1yvX9xzIDtiBeXCjhN2R8JhDc="; 20 }; 21 22 patches = [ 23 # https://github.com/martanne/dvtm/pull/69 24 # Use self-pipe instead of signal blocking fixes issues on darwin. 25 (fetchpatch { 26 name = "use-self-pipe-fix-darwin"; 27 url = "https://github.com/martanne/dvtm/commit/1f1ed664d64603f3f1ce1388571227dc723901b2.patch"; 28 sha256 = "14j3kks7b1v6qq12442v1da3h7khp02rp0vi0qrz0rfgkg1zilpb"; 29 }) 30 ]; 31}