Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add hoodle (pen notetaking program written in haskell) to nixpkgs #1558

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions pkgs/applications/graphics/hoodle/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ cabal, cmdargs, configurator, dyre, hoodleCore, mtl }:

cabal.mkDerivation (self: {
pname = "hoodle";
version = "0.2.2.1";
sha256 = "1qkyyzfmprhniwarnq6cdmv1r6605b3h2lsc1rlalxhq6jh5gamd";
isLibrary = false;
isExecutable = true;
buildDepends = [ cmdargs configurator dyre hoodleCore mtl ];
#jailbreak = true;
meta = {
homepage = "http://ianwookim.org/hoodle";
description = "Pen notetaking program written in haskell";
license = self.stdenv.lib.licenses.gpl3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim];
};
})
15 changes: 15 additions & 0 deletions pkgs/development/libraries/haskell/TypeCompose/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{ cabal }:

cabal.mkDerivation (self: {
pname = "TypeCompose";
version = "0.9.9";
sha256 = "0i89r1yaglkcc1fdhn0m4hws5rqcpmkg32ddznch7a3rz1l9gqwg";
buildDepends = [ ];
meta = {
homepage = "https://github.com/conal/TypeCompose";
description = "Type composition classes & instances";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim ];
};
})
16 changes: 16 additions & 0 deletions pkgs/development/libraries/haskell/coroutine-object/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ cabal, cereal, either, lens, mtl, safecopy, transformers, transformersFree, uuid }:

cabal.mkDerivation (self: {
pname = "coroutine-object";
version = "0.2.0.0";
sha256 = "1jl5glnk4ildjrxyxscxd0v7xfqbd9vpv5gaxygsfsbfr1zizp3s";
buildDepends = [ cereal either either lens mtl safecopy transformers transformersFree uuid ];
#jailbreak = true;
meta = {
homepage = "http://ianwookim.org/hoodle";
description = "Object-oriented programming realization using coroutine";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim ];
};
})
16 changes: 16 additions & 0 deletions pkgs/development/libraries/haskell/hoodle-builder/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ cabal, blazeBuilder, doubleConversion, hoodleTypes, lens, strict}:

cabal.mkDerivation (self: {
pname = "hoodle-builder";
version = "0.2.2";
sha256 = "0gagfpjihf6lafi90r883n9agaj1pw4gygaaxv4xxfsc270855bq";
buildDepends = [ blazeBuilder doubleConversion hoodleTypes lens strict ];
#jailbreak = true;
meta = {
homepage = "http://ianwookim.org/hoodle";
description = "text builder for hoodle file format";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim ];
};
})
22 changes: 22 additions & 0 deletions pkgs/development/libraries/haskell/hoodle-core/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ cabal, Diff, attoparsec, base64Bytestring, cairo, cereal, configurator,
coroutineObject, dbus, dyre, errors, fsnotify, gd, gtk, hoodleBuilder,
hoodleParser, hoodleRender, hoodleTypes, monadLoops, networkSimple,
pureMD5, stm, xournalParser }:

cabal.mkDerivation (self: {
pname = "hoodle-core";
version = "0.13.0.0";
sha256 = "1krq7i7kvymjhj9kar2rpy4qkbak8p4n1ifswdnk9r1dw7fr8vdx";
buildDepends = [ Diff attoparsec base64Bytestring cairo cereal configurator
coroutineObject dbus dyre errors fsnotify gd gtk hoodleBuilder
hoodleParser hoodleRender hoodleTypes monadLoops networkSimple
pureMD5 stm xournalParser ];
#jailbreak = true;
meta = {
homepage = "http://ianwookim.org/hoodle";
description = "Core library for hoodle";
license = self.stdenv.lib.licenses.gpl3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim];
};
})
16 changes: 16 additions & 0 deletions pkgs/development/libraries/haskell/hoodle-parser/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ cabal, attoparsec, either, hoodleTypes, lens, mtl, strict, text, transformers, xournalTypes }:

cabal.mkDerivation (self: {
pname = "hoodle-parser";
version = "0.2.2";
sha256 = "1m0jf7820hkdq69866hwqd1cc6rv331jrar8ayr28692h09j02rm";
buildDepends = [ attoparsec either hoodleTypes lens mtl strict text transformers xournalTypes ];
#jailbreak = true;
meta = {
homepage = "http://ianwookim.org/hoodle";
description = "Hoodle file parser";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim ];
};
})
16 changes: 16 additions & 0 deletions pkgs/development/libraries/haskell/hoodle-render/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ cabal, base64Bytestring, cairo, gd, hoodleTypes, lens, monadLoops, poppler, strict, svgcairo, uuid }:

cabal.mkDerivation (self: {
pname = "hoodle-render";
version = "0.3.2";
sha256 = "1mmx27g1vqpndk26nz2hy7rckcgg68clvr5x31cqz9f8sifd8rsg";
buildDepends = [ base64Bytestring cairo gd hoodleTypes lens monadLoops poppler strict svgcairo uuid];
#jailbreak = true;
meta = {
homepage = "http://ianwookim.org/hoodle";
description = "Hoodle file renderer";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim ];
};
})
17 changes: 17 additions & 0 deletions pkgs/development/libraries/haskell/hoodle-types/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{ cabal, cereal, lens, mtl, strict, uuid }:

cabal.mkDerivation (self: {
pname = "hoodle-types";
version = "0.2.2";
sha256 = "0dw2ji676nq3idb7izzzfnxzhyngf84wkapc0la43g4w4hzv1zxz";
buildDepends = [ cereal lens mtl strict uuid ];
#jailbreak = true;
meta = {
homepage = "http://ianwookim.org/hoodle";
description = "Data types for programs for hoodle file format";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim ];
};
})

15 changes: 15 additions & 0 deletions pkgs/development/libraries/haskell/transformers-free/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{ cabal, transformers }:

cabal.mkDerivation (self: {
pname = "transformers-free";
version = "1.0.1";
sha256 = "0fbzkr7ifvqng8wqi3332vwvmx36f8z167angyskfdd0a5rik2z0";
buildDepends = [ transformers ];
meta = {
homepage = "https://github.com/Gabriel439/Haskell-Transformers-Free-Library";
description = "Free monad transformers";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim ];
};
})
16 changes: 16 additions & 0 deletions pkgs/development/libraries/haskell/xournal-parser/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ cabal, attoparsec, attoparsecConduit, conduit, lens, mtl, strict, text, transformers, xmlConduit, xmlTypes, xournalTypes, zlibConduit }:

cabal.mkDerivation (self: {
pname = "xournal-parser";
version = "0.5.0.2";
sha256 = "1s9z7s6mcsn4s2krrcb1x63ca1d0rpyzdhb147w9524qw7gvbjin";
buildDepends = [ attoparsec attoparsecConduit conduit lens mtl strict text transformers xmlConduit xmlTypes xournalTypes zlibConduit ];
#jailbreak = true;
meta = {
homepage = "http://ianwookim.org/hoodle";
description = "Xournal file parser";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim ];
};
})
16 changes: 16 additions & 0 deletions pkgs/development/libraries/haskell/xournal-types/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ cabal, TypeCompose, cereal, lens, strict }:

cabal.mkDerivation (self: {
pname = "xournal-types";
version = "0.5.0.2";
sha256 = "1z1zxgwnd2bpgmiimil2jnz4xdcvvi59y2qdvqgy42b10db8rvkm";
buildDepends = [ TypeCompose cereal lens strict ];
#jailbreak = true;
meta = {
homepage = "http://ianwookim.org/hoodle";
description = "Data types for programs for xournal file format";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim ];
};
})
22 changes: 22 additions & 0 deletions pkgs/top-level/haskell-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x

cookie = callPackage ../development/libraries/haskell/cookie {};

coroutineObject = callPackage ../development/libraries/haskell/coroutine-object {};

cprngAes = callPackage ../development/libraries/haskell/cprng-aes {};

criterion = callPackage ../development/libraries/haskell/criterion {};
Expand Down Expand Up @@ -1325,6 +1327,18 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x

hoauth = callPackage ../development/libraries/haskell/hoauth {};

hoodle = callPackage ../applications/graphics/hoodle {};

hoodleBuilder = callPackage ../development/libraries/haskell/hoodle-builder {};

hoodleCore = callPackage ../development/libraries/haskell/hoodle-core {};

hoodleParser = callPackage ../development/libraries/haskell/hoodle-parser {};

hoodleRender = callPackage ../development/libraries/haskell/hoodle-render {};

hoodleTypes = callPackage ../development/libraries/haskell/hoodle-types {};

hoogle = callPackage ../development/libraries/haskell/hoogle {};

hopenssl = callPackage ../development/libraries/haskell/hopenssl {};
Expand Down Expand Up @@ -2292,6 +2306,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x

transformersCompat = callPackage ../development/libraries/haskell/transformers-compat {};

transformersFree = callPackage ../development/libraries/haskell/transformers-free {};

traverseWithClass = callPackage ../development/libraries/haskell/traverse-with-class {};

trifecta_1_1 = callPackage ../development/libraries/haskell/trifecta/1.1.nix {
Expand All @@ -2302,6 +2318,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x

tuple = callPackage ../development/libraries/haskell/tuple {};

TypeCompose = callPackage ../development/libraries/haskell/TypeCompose {};

typeEq = callPackage ../development/libraries/haskell/type-eq {};

typeEquality = callPackage ../development/libraries/haskell/type-equality {};
Expand Down Expand Up @@ -2481,6 +2499,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x

xmlTypes = callPackage ../development/libraries/haskell/xml-types {};

xournalParser = callPackage ../development/libraries/haskell/xournal-parser {};

xournalTypes = callPackage ../development/libraries/haskell/xournal-types {};

xtest = callPackage ../development/libraries/haskell/xtest {};

xssSanitize = callPackage ../development/libraries/haskell/xss-sanitize {};
Expand Down