monotone: strip trailing whitespace
svn path=/nixpkgs/trunk/; revision=27742
This commit is contained in:
parent
b1b274558a
commit
9485e2392b
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, boost, zlib, botan, libidn
|
||||
, lua, pcre, sqlite, perl, pkgconfig }:
|
||||
|
||||
let
|
||||
let
|
||||
version = "1.0";
|
||||
perlVersion = (builtins.parseDrvName perl.name).version;
|
||||
in
|
||||
@ -10,21 +10,21 @@ assert perlVersion != "";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "monotone-${version}";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://monotone.ca/downloads/${version}/monotone-${version}.tar.bz2";
|
||||
sha256 = "5c530bc4652b2c08b5291659f0c130618a14780f075f981e947952dcaefc31dc";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = [boost zlib botan libidn lua pcre sqlite pkgconfig];
|
||||
|
||||
|
||||
postInstall = ''
|
||||
ensureDir $out/share/${name}
|
||||
cp -rv contrib/ $out/share/${name}/contrib
|
||||
ensureDir $out/lib/perl5/site_perl/${perlVersion}
|
||||
cp -v contrib/Monotone.pm $out/lib/perl5/site_perl/${perlVersion}
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "A free distributed version control system";
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
|
Loading…
x
Reference in New Issue
Block a user