Commit 9cb3a644 authored by Clint Adams's avatar Clint Adams
Browse files

move binNMUs into its own directory and make cabal-buildable

parent 18b3dd86
Loading
Loading
Loading
Loading

binnmus/ChangeLog.md

0 → 100644
+5 −0
Original line number Diff line number Diff line
# Revision history for binNMUs

## 0.1.0.0  -- 2018-08-02

* First cabal-enabled version.

binnmus/LICENSE

0 → 100644
+19 −0
Original line number Diff line number Diff line
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

binnmus/Setup.hs

0 → 100644
+2 −0
Original line number Diff line number Diff line
import Distribution.Simple
main = defaultMain

binnmus/binNMUs.cabal

0 → 100644
+34 −0
Original line number Diff line number Diff line
name:                binNMUs
version:             0.1.0.0
-- synopsis:            
-- description:         
license:             MIT
license-file:        LICENSE
author:              Joachim Breitner
maintainer:          nomeata@debian.org
copyright:           2014-2018 Joachim Breitner et al.
category:            Development
build-type:          Simple
extra-source-files:  ChangeLog.md
cabal-version:       >=1.10

executable binNMUs
  main-is:             binNMUs.hs
  other-modules:       AcquireFile
  build-depends:       base >=4.10 && <5
                     , bytestring
                     , containers
                     , debian
                     , deepseq
                     , directory
                     , lens
                     , lzma
                     , optparse-applicative
                     , parallel
                     , process
                     , regex-pcre
                     , split
                     , strict
                     , time
                     , zlib
  default-language:    Haskell2010
+5 −0
Original line number Diff line number Diff line
-- bin-NMU calculator
-- Copyright © 2014-2018 Joachim Breitner et al.
-- This software can be copied under the terms of the Expat license
-- (https://spdx.org/licenses/MIT)

{-# LANGUAGE CPP, DeriveGeneric #-}

import Text.Printf