28ac782583
There are many more packages to fix, this is just a start. Rules: * Don't repeat the package name (not always that easy...) * Start with capital letter * Don't end with full stop * Don't start with "The ..." or "A ..." I've also added descriptions to some packages and rewritten others.
30 lines
683 B
Nix
30 lines
683 B
Nix
{ stdenv, fetchurl, tcl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "bwidget-${version}";
|
|
version = "1.9.5";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
|
|
sha256 = "1njssjjvfalsfh37prkxwqi4hf0zj1d54qzggvjwpzkm424jjcii";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
ensureDir "$out/lib/${passthru.libPrefix}"
|
|
cp -R *.tcl lang images "$out/lib/${passthru.libPrefix}"
|
|
'';
|
|
|
|
passthru = {
|
|
libPrefix = "bwidget${version}";
|
|
};
|
|
|
|
buildInputs = [ tcl ];
|
|
|
|
meta = {
|
|
homepage = "http://tcl.activestate.com/software/tcllib/";
|
|
description = "High-level widget set for Tcl/Tk";
|
|
license = stdenv.lib.licenses.tcltk;
|
|
};
|
|
}
|