mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
61b285d660
svn path=/nixpkgs/trunk/; revision=12612
24 lines
459 B
Nix
24 lines
459 B
Nix
args :
|
|
let
|
|
lib = args.lib;
|
|
fetchurl = args.fetchurl;
|
|
|
|
version = lib.getAttr ["version"] "" args;
|
|
buildInputs = with args; [
|
|
|
|
];
|
|
in
|
|
rec {
|
|
src = /* Here a fetchurl expression goes */;
|
|
|
|
inherit buildInputs;
|
|
configureFlags = [];
|
|
|
|
/* doConfigure should be specified separately */
|
|
phaseNames = ["doMakeInstall"];
|
|
|
|
name = "${abort "Specify name"}-" + version;
|
|
meta = {
|
|
description = "${abort "Specify description"}";
|
|
};
|
|
}
|