Adding ised

svn path=/nixpkgs/trunk/; revision=25331
This commit is contained in:
Michael Raskin 2011-01-01 20:28:38 +00:00
parent f2f1009d98
commit 29cd3206f2
3 changed files with 50 additions and 1 deletions

View File

@ -37,7 +37,7 @@ rec {
];
platforms = with a.lib.platforms;
(abort "Specify platforms");
license = "${abort ''Specify license''}";
license = a.lib.licenses.(abort "Specify license");
};
passthru = {
updateInfo = {

View File

@ -0,0 +1,47 @@
x@{builderDefsPackage
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
baseName="ised";
version="2.2.2";
name="${baseName}-${version}";
url="mirror://sf/project/ised/${name}.tar.bz2";
hash="1nb1cnsbs2k3j9cy2kc2kg01rd7wf3jwxm62rwn1rjlc46nwdlmn";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
};
inherit (sourceInfo) name version;
inherit buildInputs;
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
meta = {
description = "A numeric sequence editor";
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
linux;
license = a.lib.licenses.gpl3Plus;
};
passthru = {
updateInfo = {
downloadPage = "ised.sf.net";
};
};
}) x

View File

@ -790,6 +790,8 @@ let
static = false;
};
ised = callPackage ../tools/misc/ised {};
jdiskreport = callPackage ../tools/misc/jdiskreport { };
jfsrec = callPackage ../tools/filesystems/jfsrec { };