mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
b69be987c0
svn path=/nixpkgs/trunk/; revision=16331
27 lines
529 B
Nix
27 lines
529 B
Nix
a :
|
|
let
|
|
fetchurl = a.fetchurl;
|
|
|
|
version = a.lib.attrByPath ["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"}";
|
|
maintainers = [
|
|
a.lib.maintainers.(abort "Specify maintainer")
|
|
];
|
|
};
|
|
}
|