mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
e66080438b
svn path=/nixpkgs/trunk/; revision=13596
24 lines
446 B
Nix
24 lines
446 B
Nix
a :
|
|
let
|
|
fetchurl = a.fetchurl;
|
|
|
|
version = a.lib.getAttr ["version"] "" a;
|
|
buildInputs = with a; [
|
|
|
|
];
|
|
in
|
|
rec {
|
|
src = /* Here a fetchurl expression goes */;
|
|
|
|
inherit buildInputs;
|
|
configureFlags = [];
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
|
|
name = "${abort "Specify name"}-" + version;
|
|
meta = {
|
|
description = "${abort "Specify description"}";
|
|
};
|
|
}
|