Fix some issues in my packages reported by nixpkgs-lint.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
This commit is contained in:
Moritz Ulrich 2013-09-26 21:37:49 +02:00
parent 2c5230cb64
commit 36fca94805
No known key found for this signature in database
GPG key ID: A9E1CC79ECBFA432
6 changed files with 18 additions and 18 deletions

View file

@ -1,7 +1,8 @@
{ stdenv, coreutils, fetchurl, python, dropbox }:
stdenv.mkDerivation {
name = "dropbox-cli";
# 1.6.0 because it's the only version mentioned in the script
name = "dropbox-cli-1.6.0";
src = fetchurl {
# Note: dropbox doesn't version this file. Annoying.
@ -29,7 +30,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://dropbox.com;
description = "Command line client for the dropbox daemon.";
description = "Command line client for the dropbox daemon";
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
# NOTE: Dropbox itself only works on linux, so this is ok.

View file

@ -19,10 +19,11 @@ stdenv.mkDerivation rec {
automake -a
'';
meta = {
meta = with stdenv.lib; {
description = "Assember for the Atmel AVR microcontroller family";
homepage = http://avra.sourceforge.net/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ the-kenny ];
};
}

View file

@ -29,9 +29,9 @@ stdenv.mkDerivation {
done
'';
meta = {
meta = with stdenv.lib; {
homepage = "http://elixir-lang.org/";
description = "Elixir is a functional, meta-programming aware language built on top of the Erlang VM.";
description = "A functional, meta-programming aware language built on top of the Erlang VM";
longDescription = ''
Elixir is a functional, meta-programming
@ -41,8 +41,8 @@ stdenv.mkDerivation {
fault-tolerant applications with hot code upgrades.p
'';
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.the-kenny ];
license = licenses.epl10;
platforms = platforms.linux;
maintainers = [ maintainers.the-kenny ];
};
}

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation {
meta = {
homepage = "https://github.com/rebar/rebar";
description = "Erlang build tool that makes it easy to compile and test Erlang applications, port drivers and releases.";
description = "Erlang build tool that makes it easy to compile and test Erlang applications, port drivers and releases";
longDescription = ''
rebar is a self-contained Erlang script, so it's easy to

View file

@ -8,19 +8,17 @@ stdenv.mkDerivation {
sha256 = "04k631g9lzvp9xr4sw51xpq1g542np61s1l8fpwx9rbsc8m5l0i6";
};
buildInputs = [];
installPhase = ''
# Manually copy, make install copies to /usr/local/bin
mkdir -pv $out/bin/
cp stm32flash $out/bin/
'';
meta = {
description = "Open source flash program for the STM32 ARM processors using the ST bootloader.";
meta = with stdenv.lib; {
description = "Open source flash program for the STM32 ARM processors using the ST bootloader";
homepage = https://code.google.com/p/stm32flash/;
license = "GPLv2";
platforms = stdenv.lib.platforms.all; # Should work on all platforms
maintainers = [ stdenv.lib.maintainers.the-kenny ];
platforms = platforms.all; # Should work on all platforms
maintainers = [ maintainers.the-kenny ];
};
}

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation {
doCheck = true;
meta = {
description = "Stow is a tool for managing the installation of multiple software packages in the same run-time directory tree.";
description = "A tool for managing the installation of multiple software packages in the same run-time directory tree";
longDescription = ''
GNU Stow is a symlink farm manager which takes distinct packages