Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / maxflow / default.nix
blob9c53a16d3724e75aecfbe9ce68d84170db9eb01f
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , cmake
5 }:
7 stdenv.mkDerivation rec {
8   pname = "maxflow";
9   version = "3.0.5";
11   src = fetchFromGitHub {
12     owner = "gerddie";
13     repo = pname;
14     rev = version;
15     hash = "sha256-a84SxGMnfBEaoMEeeIFffTOtErSN5yzZBrAUDjkalGY=";
16   };
18   nativeBuildInputs = [ cmake ];
20   meta = with lib; {
21     description = "Software for computing mincut/maxflow in a graph";
22     homepage = "https://github.com/gerddie/maxflow";
23     license = licenses.gpl3Plus;
24     platforms = platforms.all;
25     maintainers = [ maintainers.tadfisher ];
26   };