mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
c4339a029e
I've had to patch authenticate-oauth to get this working. The patch comes from a commit that's already in master, so future versions will have this and it's ok if cabal2nix ends up discarding this information.
25 lines
907 B
Nix
25 lines
907 B
Nix
{ cabal, base64Bytestring, blazeBuilder, blazeBuilderConduit
|
|
, conduit, cryptoPubkeyTypes, dataDefault, httpConduit, httpTypes
|
|
, monadControl, random, resourcet, RSA, SHA, time, transformers
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "authenticate-oauth";
|
|
version = "1.4.0.8";
|
|
sha256 = "1mc36d6lkmqywzsxhzwv4445mmwdz0rr5ibd2a1nbgw5c5jw76fy";
|
|
patches = [ ./RSA2.patch ];
|
|
patchFlags = "-p2";
|
|
buildDepends = [
|
|
base64Bytestring blazeBuilder blazeBuilderConduit conduit
|
|
cryptoPubkeyTypes dataDefault httpConduit httpTypes monadControl
|
|
random resourcet RSA SHA time transformers
|
|
];
|
|
meta = {
|
|
homepage = "http://github.com/yesodweb/authenticate";
|
|
description = "Library to authenticate with OAuth for Haskell web applications";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
|
|
};
|
|
})
|