git.iko.soy/typeable/nixpkgs
on master help sign in
ised: get rid of builderDefsPackage
commit576a5605b811227963840698a4992e03476ed087 authorDomen Kožar <domen@dev.si> dateSat 11 Oct 2014, 18:28 (12 years ago) parent9ca95f7
1 file changed+10−35
pkgs/tools/misc/ised/default.nix+10−35
pkgs/tools/misc/ised/default.nix+10−35
@@ -1,42 +1,17 @@
1−x@{builderDefsPackage
2− , ...}:
3−builderDefsPackage
4−(a :
5−let
6− helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
7− [];
1+{ stdenv, fetchurl }:
82
9− buildInputs = map (n: builtins.getAttr n x)
10− (builtins.attrNames (builtins.removeAttrs x helperArgNames));
11− sourceInfo = rec {
12− baseName="ised";
13− version = "2.6.0";
14− name="${baseName}-${version}";
15− url="mirror://sourceforge/project/ised/${name}.tar.bz2";
16− };
17−in
18−rec {
19− src = a.fetchurl {
20− url = sourceInfo.url;
3+stdenv.mkDerivation rec {
4+ name = "ised-${version}";
5+ version = "2.6.0";
6+ src = fetchurl {
7+ url = "mirror://sourceforge/project/ised/${name}.tar.bz2";
218 sha256 = "0rf9brqkrad8f3czpfc1bxq9ybv3nxci9276wdxas033c82cqkjs";
229 };
2310
24− inherit (sourceInfo) name version;
25− inherit buildInputs;
26−
27− /* doConfigure should be removed if not needed */
28− phaseNames = ["doConfigure" "doMakeInstall"];
29−
3011 meta = {
3112 description = "A numeric sequence editor";
32− maintainers = with a.lib.maintainers;
33− [
34− raskin
35− ];
36− platforms = with a.lib.platforms;
37− linux;
38− license = a.lib.licenses.gpl3Plus;
39− inherit version;
13+ maintainers = with stdenv.lib.maintainers; [ raskin ];
14+ platforms = with stdenv.lib.platforms; linux;
15+ license = stdenv.lib.licenses.gpl3Plus;
4016 };
41−}) x
42−
17+}