nixpkgs/pkgs/development/ocaml-modules/tsort/default.nix
2020-11-22 07:26:26 +01:00

23 lines
548 B
Nix

{ lib, buildDunePackage, fetchFromGitHub, containers }:
buildDunePackage rec {
pname = "tsort";
useDune2 = true;
version = "2.0.0";
src = fetchFromGitHub {
owner = "dmbaturin";
repo = "ocaml-tsort";
rev = version;
sha256 = "0i67ys5p5i8q9p0nhkq4pjg9jav8dy0fiy975a365j7m6bhrwgc1";
};
propagatedBuildInputs = [ containers ];
meta = {
description = "Easy to use and user-friendly topological sort";
inherit (src.meta) homepage;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}