Skyler Turner | 67d911a | 2022-03-17 08:54:58 +0000 | [diff] [blame] | 1 | final: prev: let |
| 2 | src = final.fetchFromGitHub { |
| 3 | owner = "winfsp"; |
| 4 | repo = "hubfs"; |
| 5 | rev = "1ba013d3fe54de01c52bd74d98037fe4c0029d6e"; |
Skyler Turner | 64f7290 | 2022-03-17 10:48:20 +0000 | [diff] [blame] | 6 | hash = "sha256-R1nCdua0gacXrglQ4AZfxnO3ngVECCKKiUOgp3dWRGg="; |
Skyler Turner | 67d911a | 2022-03-17 08:54:58 +0000 | [diff] [blame] | 7 | } + "/src"; |
| 8 | in { |
Skyler Turner | f997ba0 | 2022-03-17 08:55:46 +0000 | [diff] [blame] | 9 | hubfs = final.buildGoModule { |
Skyler Turner | d5892a9 | 2022-03-17 10:45:47 +0000 | [diff] [blame] | 10 | name = "hubfs"; |
Skyler Turner | 0c26177 | 2022-03-17 11:00:04 +0000 | [diff] [blame] | 11 | buildInputs = with final; [ |
Skyler Turner | 059d93a | 2022-03-17 11:01:11 +0000 | [diff] [blame] | 12 | fuse |
Skyler Turner | 0c26177 | 2022-03-17 11:00:04 +0000 | [diff] [blame] | 13 | ]; |
Skyler Turner | 3adf3f7 | 2022-03-17 23:35:16 +0000 | [diff] [blame^] | 14 | checkPhase = ":"; # Bit of a hack here; we need to disable tests as we can't get FUSE inside the build derivation to test the package |
Skyler Turner | 67d911a | 2022-03-17 08:54:58 +0000 | [diff] [blame] | 15 | inherit src; |
Skyler Turner | 4802d13 | 2022-03-17 10:50:09 +0000 | [diff] [blame] | 16 | vendorSha256 = "sha256-Fpa+wanlMIqxkEZ3JQdCT4ixuNBj7AquG2+wLuO5TQU="; |
Skyler Turner | 651979c | 2022-03-17 10:54:45 +0000 | [diff] [blame] | 17 | runVend = true; |
Skyler Turner | c2c4811 | 2022-03-17 08:55:27 +0000 | [diff] [blame] | 18 | }; |
Skyler Turner | 67d911a | 2022-03-17 08:54:58 +0000 | [diff] [blame] | 19 | } |