Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 883c55748fa0
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 14edfb4cd7cc
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 19, 2021

  1. ocamlPackages.psq: use Dune 2

    And enable tests
    vbgl committed Mar 19, 2021
    Copy the full SHA
    14edfb4 View commit details
Showing with 6 additions and 1 deletion.
  1. +6 −1 pkgs/development/ocaml-modules/psq/default.nix
7 changes: 6 additions & 1 deletion pkgs/development/ocaml-modules/psq/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{ lib, buildDunePackage, fetchurl, seq }:
{ lib, buildDunePackage, ocaml, fetchurl, seq, qcheck-alcotest }:

buildDunePackage rec {
minimumOCamlVersion = "4.03";
pname = "psq";
version = "0.2.0";

useDune2 = true;

src = fetchurl {
url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-v${version}.tbz";
sha256 = "1j4lqkq17rskhgcrpgr4n1m1a2b1x35mlxj6f9g05rhpmgvgvknk";
};

propagatedBuildInputs = [ seq ];

doCheck = lib.versionAtLeast ocaml.version "4.07";
checkInputs = [ qcheck-alcotest ];

meta = {
description = "Functional Priority Search Queues for OCaml";
homepage = "https://github.com/pqwy/psq";