nixpkgs-suyu/pkgs/development/tools/ocaml/omake/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

24 lines
610 B
Nix

{ stdenv, fetchurl, ocaml, ncurses }:
stdenv.mkDerivation rec {
pname = "omake";
version = "0.10.3";
src = fetchurl {
url = "http://download.camlcity.org/download/${pname}-${version}.tar.gz";
sha256 = "07bdg1h5i7qnlv9xq81ad5hfypl10hxm771h4rjyl5cn8plhfcgz";
};
buildInputs = [ ocaml ncurses ];
meta = {
description = "A build system designed for scalability and portability";
homepage = http://projects.camlcity.org/projects/omake.html;
license = with stdenv.lib.licenses; [
mit /* scripts */
gpl2 /* program */
];
inherit (ocaml.meta) platforms;
};
}