jenkins: expression cleanup
* Include version number in package name * Remove trailing dot in meta.description * Simplify meta by using "with stdenv.lib;"
This commit is contained in:
parent
19b1fafe5f
commit
af2334912a
@ -1,19 +1,19 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jenkins";
|
||||
name = "jenkins-${version}";
|
||||
version = "1.550";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://mirrors.jenkins-ci.org/war/${version}/jenkins.war";
|
||||
sha256 = "1ziimbfs9kylga0xmxlfsfcc7qsirs5bnx00pa99m2l5sz2ki793";
|
||||
};
|
||||
meta = {
|
||||
description = "An extendable open source continuous integration server.";
|
||||
meta = with stdenv.lib; {
|
||||
description = "An extendable open source continuous integration server";
|
||||
homepage = http://jenkins-ci.org;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.coconnor ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.coconnor ];
|
||||
};
|
||||
|
||||
buildCommand = "ln -s $src $out";
|
||||
|
Loading…
Reference in New Issue
Block a user