mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
28 lines
566 B
Nix
28 lines
566 B
Nix
|
{ lib
|
||
|
, stdenv
|
||
|
, fetchFromGitHub
|
||
|
, cmake
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "maxflow";
|
||
|
version = "3.0.5";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "gerddie";
|
||
|
repo = pname;
|
||
|
rev = version;
|
||
|
hash = "sha256-a84SxGMnfBEaoMEeeIFffTOtErSN5yzZBrAUDjkalGY=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ cmake ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Software for computing mincut/maxflow in a graph";
|
||
|
homepage = "https://github.com/gerddie/maxflow";
|
||
|
license = licenses.gpl3Plus;
|
||
|
platforms = platforms.all;
|
||
|
maintainers = [ maintainers.tadfisher ];
|
||
|
};
|
||
|
}
|