mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Merge pull request #1940 from jacobhinkle/master
haskellPackages: Add AES and pbkdf haskell packages
This commit is contained in:
commit
f43a9e9d5d
13
pkgs/development/libraries/haskell/aes/default.nix
Normal file
13
pkgs/development/libraries/haskell/aes/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ cabal, cereal, monadsTf, random, transformers }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "AES";
|
||||
version = "0.2.8";
|
||||
sha256 = "1yf0mhmj294gf1b1m11gixa1xxlbvv0yl60b59fnv5lf0s170jn3";
|
||||
buildDepends = [ cereal monadsTf random transformers ];
|
||||
meta = {
|
||||
description = "Fast AES encryption/decryption for bytestrings";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
15
pkgs/development/libraries/haskell/pbkdf/default.nix
Normal file
15
pkgs/development/libraries/haskell/pbkdf/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ cabal, binary, byteable, bytedump, cryptohash, utf8String }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "pbkdf";
|
||||
version = "1.1.1.1";
|
||||
sha256 = "1nbn8kan43i00g23g8aljxjpaxm9q1qhzxxdgks0mc4mr1f7bifx";
|
||||
buildDepends = [ binary byteable bytedump cryptohash utf8String ];
|
||||
testDepends = [ binary byteable bytedump cryptohash utf8String ];
|
||||
meta = {
|
||||
homepage = "https://github.com/cdornan/pbkdf";
|
||||
description = "Haskell implementation of the PBKDF functions from RFC-2898";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -526,6 +526,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
||||
|
||||
adjunctions = callPackage ../development/libraries/haskell/adjunctions {};
|
||||
|
||||
aes = callPackage ../development/libraries/haskell/aes {};
|
||||
|
||||
aeson = callPackage ../development/libraries/haskell/aeson {
|
||||
blazeBuilder = if (pkgs.stdenv.lib.versionOlder ghc.version "7.6") then self.blazeBuilder else null;
|
||||
};
|
||||
@ -1895,6 +1897,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
||||
|
||||
pathtype = callPackage ../development/libraries/haskell/pathtype {};
|
||||
|
||||
pbkdf = callPackage ../development/libraries/haskell/pbkdf {};
|
||||
|
||||
pcap = callPackage ../development/libraries/haskell/pcap {};
|
||||
|
||||
pcapEnumerator = callPackage ../development/libraries/haskell/pcap-enumerator {};
|
||||
|
Loading…
Reference in New Issue
Block a user