Browse Source

Build under LTS-5.15

tags/v0.2.2.0
Peter J. Jones 3 years ago
parent
commit
e0a9704b17
8 changed files with 93 additions and 23 deletions
  1. 2
    4
      .gitignore
  2. 0
    15
      CHANGES
  3. 17
    0
      CHANGES.md
  4. 35
    0
      GNUmakefile
  5. 1
    1
      LICENSE
  6. 22
    0
      build/nixpkgs.nix
  7. 13
    0
      build/stack.yaml
  8. 3
    3
      vimeta.cabal

+ 2
- 4
.gitignore View File

@@ -1,5 +1,3 @@
/dist
/.cabal-sandbox/
/.deps.mk
/cabal.sandbox.config
/default.nix
/.stack-work
/build/.stack-work

+ 0
- 15
CHANGES View File

@@ -1,15 +0,0 @@
-*- org -*-
#+title: Version History
#+startup: showall

* 0.2.1.0 (July, 23, 2015)

- Restore support for GHC 7.8.x

* 0.2.0.0 (July 22, 2015)

- Initial public release.

* 0.1.0.0 (Never publicly released)

- Internal release only.

+ 17
- 0
CHANGES.md View File

@@ -0,0 +1,17 @@
# Version History

## 0.2.2.0 (June 9, 2016)

- Build with LTS-5.15

## 0.2.1.0 (July, 23, 2015)

- Restore support for GHC 7.8.x

## 0.2.0.0 (July 22, 2015)

- Initial public release.

## 0.1.0.0 (Never publicly released)

- Internal release only.

+ 35
- 0
GNUmakefile View File

@@ -0,0 +1,35 @@
################################################################################
export TMPDIR = $(HOME)/tmp

################################################################################
TMP_DUMMY = $(TMPDIR)/.dummy
STACK_OPTS = --stack-yaml=build/stack.yaml
PKG_ROOT_PATH = $(shell stack $(STACK_OPTS) path --local-install-root)
DEST_DIR = $(HOME)/bin

################################################################################
.PHONY: all test clean install

################################################################################
all: $(TMP_DUMMY)
stack $(STACK_OPTS) setup
stack $(STACK_OPTS) build
hlint src

################################################################################
test:
stack $(STACK_OPTS) test

################################################################################
clean:
stack $(STACK_OPTS) clean

################################################################################
install: all
install -m 0755 $(PKG_ROOT_PATH)/bin/vimeta $(DEST_DIR)/vimeta


################################################################################
$(TMP_DUMMY):
mkdir -p $(dir $@)
touch $@

+ 1
- 1
LICENSE View File

@@ -1,4 +1,4 @@
Copyright (c) 2013-2015, Peter J. Jones <pjones@devalot.com>
Copyright (c) 2013-2016 Peter J. Jones <pjones@devalot.com>
All rights reserved.

Redistribution and use in source and binary forms, with or without

+ 22
- 0
build/nixpkgs.nix View File

@@ -0,0 +1,22 @@
with (import <nixpkgs> {});

stdenv.mkDerivation {
name = "vimeta";

buildInputs = [
# GHC:
haskell.packages.lts-5_15.ghc

# Non-Haskell Dependencies:
zlib # For the header files.
zlib.out # For the .so file.
gnupg # For signing packages.
ncurses # For byline.
];

# Work around a bug in GHC:
# https://ghc.haskell.org/trac/ghc/ticket/11042
shellHook = ''
export LD_LIBRARY_PATH=${zlib.out}/lib
'';
}

+ 13
- 0
build/stack.yaml View File

@@ -0,0 +1,13 @@
resolver: lts-5.15

packages:
- ../
- ../vendor/byline
- ../vendor/themoviedb

flags:
vimeta:
maintainer: true

extra-deps:
- terminfo-hs-0.2.1

+ 3
- 3
vimeta.cabal View File

@@ -1,6 +1,6 @@
--------------------------------------------------------------------------------
name: vimeta
version: 0.2.1.0
version: 0.2.2.0
synopsis: Frontend for video metadata tagging tools
homepage: http://github.com/pjones/vimeta
bug-reports: http://github.com/pjones/vimeta/issues
@@ -80,10 +80,10 @@ library
, filepath >= 1.3 && < 1.5
, http-client >= 0.4 && < 0.5
, http-client-tls >= 0.2.2 && < 0.3
, http-types >= 0.8 && < 0.9
, http-types >= 0.8 && < 0.10
, mtl >= 2.1 && < 2.3
, old-locale >= 1.0 && < 1.1
, optparse-applicative >= 0.11 && < 0.12
, optparse-applicative >= 0.11 && < 0.13
, parsec >= 3.1 && < 3.2
, process >= 1.1 && < 1.3
, temporary >= 1.1 && < 1.3

Loading…
Cancel
Save