diff options
author | Marc Weber <marco-oweber@gmx.de> | 2008-12-20 01:20:35 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2008-12-20 01:20:35 +0000 |
commit | e996113be7f41f067aaefac881c540b5ceb8d2d4 (patch) | |
tree | 177f16552ca2d05020c3d45a0b45502556a09502 /pkgs/development/libraries/libdv | |
parent | 5ab6464edb9bbc2a9aa15122ffc02b57ad236bb7 (diff) | |
download | nixpkgs-e996113be7f41f067aaefac881c540b5ceb8d2d4.tar nixpkgs-e996113be7f41f067aaefac881c540b5ceb8d2d4.tar.gz nixpkgs-e996113be7f41f067aaefac881c540b5ceb8d2d4.tar.bz2 nixpkgs-e996113be7f41f067aaefac881c540b5ceb8d2d4.tar.lz nixpkgs-e996113be7f41f067aaefac881c540b5ceb8d2d4.tar.xz nixpkgs-e996113be7f41f067aaefac881c540b5ceb8d2d4.tar.zst nixpkgs-e996113be7f41f067aaefac881c540b5ceb8d2d4.zip |
removed mkDerivationByConfiguration, using composableDerivation instead
qgis, vim_configurable both work now svn path=/nixpkgs/trunk/; revision=13661
Diffstat (limited to 'pkgs/development/libraries/libdv')
-rw-r--r-- | pkgs/development/libraries/libdv/default.nix | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/pkgs/development/libraries/libdv/default.nix b/pkgs/development/libraries/libdv/default.nix index 4b0e05acf98..70211e928ee 100644 --- a/pkgs/development/libraries/libdv/default.nix +++ b/pkgs/development/libraries/libdv/default.nix @@ -1,30 +1,29 @@ -args: -let edf = args.lib.enableDisableFeature; in -( args.mkDerivationByConfiguration { - flagConfig = { } +args: with args; +let inherit (args.composableDerivation) composableDerivation edf; in +composableDerivation { + initial = { + flags = { } # TODO! implement flags # I want to get kino and cinelerra working. That's why I don't spend more time on this now - // edf "libtool_lock" "libtool_lock" { } #avoid locking (might break parallel builds) - // edf "asm" "asm" { } #disable use of architecture specific assembly code - // edf "sdl" "sdl" { } #enable use of SDL for display - // edf "gtk" "gtk" { } #disable use of gtk for display - // edf "xv" "xv" { } #disable use of XVideo extension for display - // edf "gprof" "gprof" { } #enable compiler options for gprof profiling - ; + // edf { name = "libtool_lock"; } #avoid locking (might break parallel builds) + // edf { name ="asm"; } #disable use of architecture specific assembly code + // edf { name ="sdl"; } #enable use of SDL for display + // edf { name ="gtk"; } #disable use of gtk for display + // edf { name ="xv"; } #disable use of XVideo extension for display + // edf { name ="gprof"; }; #enable compiler options for gprof profiling - extraAttrs = co : { - name = "libdv-1.0.0"; + name = "libdv-1.0.0"; - src = args.fetchurl { - url = mirror://sourceforge/libdv/libdv-1.0.0.tar.gz; - sha256 = "1fl96f2xh2slkv1i1ix7kqk576a0ak1d33cylm0mbhm96d0761d3"; - }; + src = args.fetchurl { + url = mirror://sourceforge/libdv/libdv-1.0.0.tar.gz; + sha256 = "1fl96f2xh2slkv1i1ix7kqk576a0ak1d33cylm0mbhm96d0761d3"; + }; - meta = { + meta = { description = "software decoder for DV format video, as defined by the IEC 61834 and SMPTE 314M standards"; homepage = http://sourceforge.net/projects/libdv/; # you can choose one of the following licenses: license = []; }; }; -} ) args +} |