mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
packages/hs-speedscope: init
This commit is contained in:
parent
c23aad611a
commit
40754f9b6a
1 changed files with 28 additions and 0 deletions
28
nix/packages/by-name/hs-speedscope/package.nix
Normal file
28
nix/packages/by-name/hs-speedscope/package.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
haskellPackages,
|
||||||
|
haskell,
|
||||||
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (haskell.lib.compose) appendPatches justStaticExecutables;
|
||||||
|
|
||||||
|
drv = haskellPackages.callCabal2nix "hs-speedscope" (fetchFromGitHub {
|
||||||
|
owner = "mpickering";
|
||||||
|
repo = "hs-speedscope";
|
||||||
|
rev = "c34ac00d35f5db52e14dc5b9ba5b228aa9953398";
|
||||||
|
hash = "sha256-sVTIPIUophj/sgNp1ox1eWHa19zhsZJGjvQt5hUfYk4=";
|
||||||
|
}) { };
|
||||||
|
in
|
||||||
|
appendPatches [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-event-dropping-logic";
|
||||||
|
url = "https://github.com/mpickering/hs-speedscope/commit/1420a9615dc0cafc3051c87cad8a8c463550fcda.patch";
|
||||||
|
hash = "sha256-kOaMhXHAxSQRhvxhF0uDSD1Us+ywNJcqnrKDfNaU5hA=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
name = "passing-rts-options";
|
||||||
|
url = "https://github.com/mpickering/hs-speedscope/commit/12ad16062325817242f0b7ebefabb40b9af4aa3e.patch";
|
||||||
|
hash = "sha256-AcL8t+D2xccKGVCCASXgP8t1K4EfHQmDpn2ZmR2Ppxk=";
|
||||||
|
})
|
||||||
|
] (justStaticExecutables drv)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue