summary refs log tree commit diff
path: root/pkgs/development/python-modules/mozsvc/default.nix
blob: b7fed9e6ad98a4ed42f0bf4fc5657becdea03c09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ stdenv
, buildPythonPackage
, fetchgit
, fetchurl
, pyramid
, simplejson
, konfig
}:

buildPythonPackage rec {
  pname = "mozsvc";
  version = "0.8";

  src = fetchgit {
    url = https://github.com/mozilla-services/mozservices.git;
    rev = "refs/tags/${version}";
    sha256 = "1zci2ikk83mf7va88c83dr6snfh4ddjqw0lsg3y29qk5nxf80vx2";
  };

  patches = stdenv.lib.singleton (fetchurl {
    url = https://github.com/nbp/mozservices/commit/f86c0b0b870cd8f80ce90accde9e16ecb2e88863.diff;
    sha256 = "1lnghx821f6dqp3pa382ka07cncdz7hq0mkrh44d0q3grvrlrp9n";
  });

  doCheck = false; # lazy packager
  propagatedBuildInputs = [ pyramid simplejson konfig ];

  meta = with stdenv.lib; {
    homepage = https://github.com/mozilla-services/mozservices;
    description = "Various utilities for Mozilla apps";
    license = licenses.mpl20;
  };

}