├── .gitignore ├── LICENSE ├── Main.hs ├── README.md ├── Setup.hs └── ipfs.cabal /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | cabal-dev 3 | *.o 4 | *.hi 5 | *.chi 6 | *.chs.h 7 | .virtualenv 8 | .hsenv 9 | .cabal-sandbox/ 10 | cabal.sandbox.config 11 | cabal.config 12 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Chas Leichner 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Main.hs: -------------------------------------------------------------------------------- 1 | main :: IO () 2 | main = return () 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | haskell-ipfs 2 | ============ 3 | 4 | Haskell implementation of the InterPlanetary File System 5 | 6 | See: https://github.com/jbenet/ipfs 7 | 8 | Please put all issues regarding IPFS _design_ in the 9 | [ipfs repo issues](https://github.com/jbenet/ipfs/issues). 10 | 11 | Please put all issues regarding Haskell IPFS _implementation_ in [this repo](https://github.com/cleichner/haskell-ipfs/issues). 12 | -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /ipfs.cabal: -------------------------------------------------------------------------------- 1 | -- Initial ipfs.cabal generated by cabal init. For further documentation, 2 | -- see http://haskell.org/cabal/users-guide/ 3 | 4 | -- The name of the package. 5 | name: ipfs 6 | 7 | -- The package version. See the Haskell package versioning policy (PVP) 8 | -- for standards guiding when and how versions should be incremented. 9 | -- http://www.haskell.org/haskellwiki/Package_versioning_policy 10 | -- PVP summary: +-+------- breaking API changes 11 | -- | | +----- non-breaking API additions 12 | -- | | | +--- code changes with no API change 13 | version: 0.0.0.0 14 | 15 | -- A short (one-line) description of the package. 16 | synopsis: Interplanetary distributed filesystem 17 | 18 | -- A longer description of the package. 19 | -- description: 20 | 21 | -- URL for the project homepage or repository. 22 | homepage: https://github.com/jbenet/ipfs 23 | 24 | -- The license under which the package is released. 25 | license: MIT 26 | 27 | -- The file containing the license text. 28 | license-file: LICENSE 29 | 30 | -- The package author(s). 31 | author: Chas Leichner 32 | 33 | -- An email address to which users can send suggestions, bug reports, and 34 | -- patches. 35 | maintainer: chas@chas.io 36 | 37 | -- A copyright notice. 38 | -- copyright: 39 | 40 | category: System 41 | 42 | build-type: Simple 43 | 44 | -- Extra files to be distributed with the package, such as examples or a 45 | -- README. 46 | extra-source-files: README.md 47 | 48 | -- Constraint on the version of Cabal needed to build this package. 49 | cabal-version: >=1.10 50 | 51 | 52 | executable ipfs 53 | -- .hs or .lhs file containing the Main module. 54 | main-is: Main.hs 55 | 56 | -- Modules included in this executable, other than Main. 57 | -- other-modules: 58 | 59 | -- LANGUAGE extensions used by modules in this package. 60 | -- other-extensions: 61 | 62 | -- Other library packages from which modules are imported. 63 | build-depends: base >=4.7 && <4.8 64 | 65 | -- Directories containing source files. 66 | -- hs-source-dirs: 67 | 68 | -- Base language which the package is written in. 69 | default-language: Haskell2010 70 | 71 | --------------------------------------------------------------------------------