aboutsummaryrefslogtreecommitdiff
path: root/nix/nixpkgs-next.nix
blob: cb7293461c1524f57c395da5c27eab52fcecea70 (about) (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
35
36
{ pkgs }: rec {
  md4c = pkgs.stdenv.mkDerivation rec {
    pname = "md4c";
    version = "release-0.4.6";
    src = pkgs.fetchFromGitHub {
      owner = "mity";
      repo = "md4c";
      rev = version;
      sha256 = "0km84rmcrczq4n87ryf3ffkfbjh4jim361pbld0z8wgp60rz08dh";
    };
    nativeBuildInputs = with pkgs; [ cmake ];
  };

  pymd4c = with pkgs.python3.pkgs;
    buildPythonPackage rec {
      pname = "pymd4c";
      version = "0.4.6.0b1";
      src = fetchPypi {
        inherit pname version;
        sha256 = "07s3arn85ri92im6x3ipljdmrxmpik7irs06i6lm17j1x6j9841d";
      };
      nativeBuildInputs = [ pkgs.pkgconfig ];
      propagatedBuildInputs = [ md4c pkgs.python3Packages.pkgconfig ];
    };

  mdpo = with pkgs.python3.pkgs;
    buildPythonPackage rec {
      pname = "mdpo";
      version = "0.2.37";
      src = fetchPypi {
        inherit pname version;
        sha256 = "09pw38vms6l50sq0n81a4d3gr395rz759rk8f108bfqydi0lyrcr";
      };
      propagatedBuildInputs = with pkgs.python3Packages; [ polib pymd4c ];
    };
}