nixpkgs-suyu/pkgs/development/libraries/CoinMP/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

20 lines
540 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "CoinMP";
version = "1.8.4";
src = fetchurl {
url = "https://www.coin-or.org/download/source/CoinMP/${pname}-${version}.tgz";
sha256 = "13d3j1sdcjzpijp4qks3n0zibk649ac3hhv88hkk8ffxrc6gnn9l";
};
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
homepage = https://projects.coin-or.org/CoinMP/;
description = "COIN-OR lightweight API for COIN-OR libraries CLP, CBC, and CGL";
platforms = platforms.unix;
license = licenses.epl10;
};
}