Fixed several "package has no version" warnings

This commit is contained in:
Pascal Wittmann 2015-05-14 17:18:17 +02:00
parent 1103392dd9
commit 9c9c586534
11 changed files with 33 additions and 24 deletions

View File

@ -1,12 +1,14 @@
{ stdenv, fetchurl, cmake, qt4, qscintilla }: { stdenv, fetchFromGitHub, cmake, qt4, qscintilla }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sqliteman"; name = "sqliteman-${version}";
version = "1.2.0-c41b89e1"; version = "1.2.0";
src = fetchurl { src = fetchFromGitHub {
url = https://github.com/pvanek/sqliteman/archive/1.2.0.tar.gz; repo = "sqliteman";
sha256 = "1x4ppwf01jdnz3a4ycia6vv5qf3w2smbqx690z1pnkwbvk337akm"; owner = "pvanek";
rev = version;
sha256 = "1blzyh1646955d580f71slgdvz0nqx0qacryx0jc9w02yrag17cs";
}; };
buildInputs = [ cmake qt4 qscintilla ]; buildInputs = [ cmake qt4 qscintilla ];

View File

@ -1,7 +1,7 @@
{ stdenv, makeWrapper, jdk, mesos, fetchurl }: { stdenv, makeWrapper, jdk, mesos, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "marathon-v${version}"; name = "marathon-${version}";
version = "0.8.1"; version = "0.8.1";
src = fetchurl { src = fetchurl {

View File

@ -3,7 +3,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.9.0b"; version = "0.9.0b";
name = "fritzing"; name = "fritzing-${version}";
src = fetchurl { src = fetchurl {
url = "http://fritzing.org/download/${version}/source-tarball/fritzing-${version}.source.tar_1.bz2"; url = "http://fritzing.org/download/${version}/source-tarball/fritzing-${version}.source.tar_1.bz2";

View File

@ -1,11 +1,12 @@
{ stdenv, fetchhg, autoconf, sqlite }: { stdenv, fetchhg, autoconf, sqlite }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "vcprompt"; name = "vcprompt-${version}";
version = "1.2.1";
src = fetchhg { src = fetchhg {
url = "http://hg.gerg.ca/vcprompt/"; url = "http://hg.gerg.ca/vcprompt/";
rev = "1.2.1"; rev = version;
sha256 = "03xqvp6bfl98bpacrw4n82qv9cw6a4fxci802s3vrygas989v1kj"; sha256 = "03xqvp6bfl98bpacrw4n82qv9cw6a4fxci802s3vrygas989v1kj";
}; };

View File

@ -7,7 +7,7 @@ assert withGui -> gtk2 != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.0.6"; version = "1.0.6";
name = "arduino${stdenv.lib.optionalString (withGui == false) "-core"}"; name = "arduino${stdenv.lib.optionalString (withGui == false) "-core"}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "arduino"; owner = "arduino";

View File

@ -1,11 +1,12 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "uncrustify"; name = "${product}-${version}";
product = "uncrustify";
version = "0.61"; version = "0.61";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/uncrustify/${name}-${version}.tar.gz"; url = "mirror://sourceforge/uncrustify/${product}-${version}.tar.gz";
sha256 = "1df0e5a2716e256f0a4993db12f23d10195b3030326fdf2e07f8e6421e172df9"; sha256 = "1df0e5a2716e256f0a4993db12f23d10195b3030326fdf2e07f8e6421e172df9";
}; };

View File

@ -7,10 +7,12 @@
assert stdenv.system == "x86_64-linux"; assert stdenv.system == "x86_64-linux";
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "chromedriver_linux64"; product = "chromedriver_linux64";
name = "${product}-2.14";
version = "2.14";
src = fetchurl { src = fetchurl {
url = "http://chromedriver.storage.googleapis.com/2.14/${name}.zip"; url = "http://chromedriver.storage.googleapis.com/${version}/${product}.zip";
sha256 = "18kpky1v5pc3fv6kv9i2mf4wr4qicmfhf27h9zqy18gh16rlwrin"; sha256 = "18kpky1v5pc3fv6kv9i2mf4wr4qicmfhf27h9zqy18gh16rlwrin";
}; };

View File

@ -3,10 +3,10 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.42"; version = "1.42";
name = "xsnow"; name = "xsnow-${version}";
src = fetchurl { src = fetchurl {
url = "http://dropmix.xs4all.nl/rick/Xsnow/xsnow-${version}.tar.gz"; url = "http://dropmix.xs4all.nl/rick/Xsnow/${name}.tar.gz";
sha256 = "06jnbp88wc9i9dbmy7kggplw4hzlx2bhghxijmlhkjlizgqwimyh"; sha256 = "06jnbp88wc9i9dbmy7kggplw4hzlx2bhghxijmlhkjlizgqwimyh";
}; };

View File

@ -9,7 +9,7 @@ debianPatch = fetchurl {
}; };
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "atftp"; name = "atftp-${version}";
inherit version; inherit version;
src = fetchurl { src = fetchurl {
url = "mirror://debian/pool/main/a/atftp/atftp_${version}.dfsg.orig.tar.gz"; url = "mirror://debian/pool/main/a/atftp/atftp_${version}.dfsg.orig.tar.gz";

View File

@ -1,10 +1,12 @@
{ stdenv, fetchgit, autoconf, automake, libtool, glib, gtk3, dbus, pkgconfig, file, intltool, connman }: { stdenv, fetchgit, autoconf, automake, libtool, glib, gtk3, dbus, pkgconfig, file, intltool, connman }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "connmanui-b838e640eddb83d296fb6d146ce756066d37c43b"; name = "connmanui-${version}";
version = "e4a8ddcca0870eb2ece5a7e3ea0296de9c86e5b2";
src = fetchgit { src = fetchgit {
url = "git://github.com/tbursztyka/connman-ui.git"; url = "git://github.com/tbursztyka/connman-ui.git";
rev = "e4a8ddcca0870eb2ece5a7e3ea0296de9c86e5b2"; rev = version;
sha256 = "0rml52v81s7hr0g6qbj5bamli08kn66hay84qicx8sy8679wg443"; sha256 = "0rml52v81s7hr0g6qbj5bamli08kn66hay84qicx8sy8679wg443";
}; };

View File

@ -1,11 +1,12 @@
{ stdenv, pkgs, fetchurl }: { stdenv, pkgs, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "AtomicParsley"; name = "${product}-${version}";
product = "AtomicParsley";
version = "0.9.0"; version = "0.9.0";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/atomicparsley/${name}-source-${version}.zip"; url = "mirror://sourceforge/atomicparsley/${product}-source-${version}.zip";
sha256 = "de83f219f95e6fe59099b277e3ced86f0430ad9468e845783092821dff15a72e"; sha256 = "de83f219f95e6fe59099b277e3ced86f0430ad9468e845783092821dff15a72e";
}; };