aboutsummaryrefslogtreecommitdiff
path: root/modules/pkgs/juandelacosa/cabal2nix.nix
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2016-09-29 13:51:44 +0300
committerIgor Pashev <pashev.igor@gmail.com>2016-09-29 13:51:44 +0300
commit62f28d30a069135f9c48678507203958adfc334f (patch)
tree7f38af0c8d3f445ee8cc50906a639baec7011127 /modules/pkgs/juandelacosa/cabal2nix.nix
parent1af9e6589bdd18e6ba7eeabf073aa7d710020cdd (diff)
downloadnixsap-62f28d30a069135f9c48678507203958adfc334f.tar.gz
Moved everything into ./modules
Diffstat (limited to 'modules/pkgs/juandelacosa/cabal2nix.nix')
-rw-r--r--modules/pkgs/juandelacosa/cabal2nix.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/pkgs/juandelacosa/cabal2nix.nix b/modules/pkgs/juandelacosa/cabal2nix.nix
new file mode 100644
index 0000000..ddb6af7
--- /dev/null
+++ b/modules/pkgs/juandelacosa/cabal2nix.nix
@@ -0,0 +1,25 @@
+{ mkDerivation, base, base64-bytestring, bytestring
+, data-default-class, docopt, entropy, fast-logger, fetchgit
+, http-types, interpolatedstring-perl6, mtl, mysql, mysql-simple
+, network, resource-pool, scotty, stdenv, text, unix, wai
+, wai-extra, wai-middleware-static, warp
+}:
+mkDerivation {
+ pname = "juandelacosa";
+ version = "0.1.1";
+ src = fetchgit {
+ url = "https://github.com/zalora/juandelacosa.git";
+ sha256 = "c260feae989f518484881e7dc7ebcd51d5b25fcda92412445942a5e34c1f9459";
+ rev = "0940da0cdfb1201768d35c58433891feacbaedd5";
+ };
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ base base64-bytestring bytestring data-default-class docopt entropy
+ fast-logger http-types interpolatedstring-perl6 mtl mysql
+ mysql-simple network resource-pool scotty text unix wai wai-extra
+ wai-middleware-static warp
+ ];
+ description = "Manage users in MariaDB >= 10.1.1";
+ license = stdenv.lib.licenses.mit;
+}