Unverified Commit 1720090b authored by Antoine du Hamel's avatar Antoine du Hamel Committed by GitHub
Browse files

nbytes: 0.1.2 -> 0.1.3 (#491894)

parents 86b95d9e 6f4637bf
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -12,24 +12,18 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "nbytes";
  version = "0.1.2";
  version = "0.1.3";

  src = fetchFromGitHub {
    owner = "nodejs";
    repo = "nbytes";
    tag = "v${finalAttrs.version}";
    hash = "sha256-lsd1Qrv1HEz/5ry10s7Pq7unoh3y9ZmwCaT+6nTlxkc=";
    hash = "sha256-10l/YrvZPwEdEh/Q170WhZUQzdFEpjy7zeKKzYfyoYc=";
  };

  patches = [
    # Use `gtest` from Nixpkgs to allow an offline build
    ./use-nix-googletest.patch
    # Add support for pkgconfig for use as a shared lib
    # TODO: remove when included in the next release
    (fetchpatch2 {
      url = "https://github.com/nodejs/nbytes/commit/00f48a0620cef800054d4aab061f09d89990a1b9.patch?full_index=1";
      hash = "sha256-uOPEI70Dq446K56BSFHVyxDHNaYY5OASu3QeWGCLQmI=";
    })
  ];

  outputs = [