Merge remote-tracking branch 'upstream/master' into hardened-stdenv

This commit is contained in:
Robin Gloster
2016-08-12 09:46:53 +00:00
372 changed files with 7520 additions and 3777 deletions

View File

@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
name = "aha-${version}";
version = "0.4.8";
version = "0.4.9";
src = fetchFromGitHub {
sha256 = "1209rda6kc9x88b47y1035zs9lxk0x3qzsb87f8m5b55fdkgxqlj";
sha256 = "0g7awnh7z4cj3kkmldg6kl8dsvdvs46vbf273crmpswk0r4hzj80";
rev = version;
repo = "aha";
owner = "theZiz";

View File

@@ -0,0 +1,36 @@
{stdenv, fetchurl, fetchpatch}:
stdenv.mkDerivation {
name = "par-1.52";
src = fetchurl {
url = http://www.nicemice.net/par/Par152.tar.gz;
sha256 = "33dcdae905f4b4267b4dc1f3efb032d79705ca8d2122e17efdecfd8162067082";
};
patches = [
# A patch by Jérôme Pouiller that adds support for multibyte
# charsets (like UTF-8), plus Debian packaging.
(fetchpatch {
url = "http://sysmic.org/dl/par/par-1.52-i18n.4.patch";
sha256 = "0alw44lf511jmr38jnh4j0mpp7vclgy0grkxzqf7q158vzdb6g23";
})
];
buildPhase = ''make -f protoMakefile'';
installPhase = ''
mkdir -p $out/bin
cp par $out/bin
mkdir -p $out/share/man/man1
cp par.1 $out/share/man/man1
'';
meta = {
homepage = http://www.nicemice.net/par/;
description = "Paragraph reflow for email";
platforms = stdenv.lib.platforms.unix;
};
}

View File

@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'reckon'

View File

@@ -0,0 +1,21 @@
GEM
remote: https://rubygems.org/
specs:
chronic (0.10.2)
fastercsv (1.5.5)
highline (1.7.8)
reckon (0.4.4)
chronic (>= 0.3.0)
fastercsv (>= 1.5.1)
highline (>= 1.5.2)
terminal-table (>= 1.4.2)
terminal-table (1.6.0)
PLATFORMS
ruby
DEPENDENCIES
reckon
BUNDLED WITH
1.12.5

View File

@@ -0,0 +1,30 @@
{ stdenv, lib, bundlerEnv, makeWrapper }:
stdenv.mkDerivation rec {
name = "reckon-${version}";
version = "0.4.4";
env = bundlerEnv {
name = "${name}-gems";
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
};
phases = [ "installPhase" ];
buildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
makeWrapper ${env}/bin/reckon $out/bin/reckon
'';
meta = with lib; {
description = "Flexibly import bank account CSV files into Ledger for command line accounting";
license = licenses.mit;
maintainers = "mckean.kylej@gmail.com";
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,42 @@
{
chronic = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1hrdkn4g8x7dlzxwb1rfgr8kw3bp4ywg5l4y4i9c2g5cwv62yvvn";
type = "gem";
};
version = "0.10.2";
};
fastercsv = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1df3vfgw5wg0s405z0pj0rfcvnl9q6wak7ka8gn0xqg4cag1k66h";
type = "gem";
};
version = "1.5.5";
};
highline = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1nf5lgdn6ni2lpfdn4gk3gi47fmnca2bdirabbjbz1fk9w4p8lkr";
type = "gem";
};
version = "1.7.8";
};
reckon = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1p6w8w7vpl8fq4yfggrxbv6ph76psg7l5b4q29a8zvfbzzx6a0xw";
type = "gem";
};
version = "0.4.4";
};
terminal-table = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0hbmzfr17ji5ws5x5z3kypmb5irwwss7q7kkad0gs005ibqrxv0a";
type = "gem";
};
version = "1.6.0";
};
}

View File

@@ -39,6 +39,6 @@ in stdenv.mkDerivation rec {
description = "A tool to serve ZIM files using HTTP";
homepage = http://git.wikimedia.org/log/openzim;
maintainers = with stdenv.lib.maintainers; [ robbinch ];
platforms = with stdenv.lib.platforms; linux;
platforms = [ "x86_64-linux" ];
};
}