This repository has no description
659 B
27 lines
1# nixpkgs' omp at the version of nixpkgs master (18.11.2).
2{
3 lib,
4 omp,
5 fetchFromGitHub,
6 rustPlatform,
7}:
8assert lib.assertMsg (
9 omp.version == "18.11.0"
10) "nixpkgs has omp ${omp.version} now; drop pkgs/omp and use pkgs.omp again";
11omp.overrideAttrs (
12 finalAttrs: _: {
13 version = "18.11.2";
14
15 src = fetchFromGitHub {
16 owner = "can1357";
17 repo = "oh-my-pi";
18 tag = "v${finalAttrs.version}";
19 hash = "sha256-PJbclp6GbOtIFkIVXQaJYlF63ArcqHgzlRLolrzXNDI=";
20 };
21
22 cargoDeps = rustPlatform.fetchCargoVendor {
23 inherit (finalAttrs) src;
24 hash = "sha256-2gnzA/DyvVHErgYoz8ORH29Oul1xxa2msH4/VAD3Aa4=";
25 };
26 }
27)