blob: 738d19ce6d5b9386cd00ae8250f7781f65ccee2b (
plain) (
tree)
|
|
{ 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 ];
outputs = [ "bin" "dev" "out" ];
};
pymd4c = with pkgs.python3.pkgs;
buildPythonPackage rec {
pname = "pymd4c";
version = "0.4.6.0b1";
src = fetchPypi {
inherit pname version;
sha256 = "07s3arn85ri92im6x3ipljdmrxmpik7irs06i6lm17j1x6j9841d";
};
nativeBuildInputs = with pkgs; [ # cmake
md4c.dev
cython
pkgconfig
setuptools_scm
];
propagatedBuildInputs = with pkgs.python3Packages; [ flake8 ];
LDFLAGS = "-L${md4c.dev}/lib";
CFLAGS = "-I${md4c.dev}/include";
};
mdpo = with pkgs.python3.pkgs;
buildPythonPackage rec {
pname = "mdpo";
version = "0.2.36";
src = fetchPypi {
inherit pname version;
sha256 = "0gp8wi5c2x3yqslipvkm8m1wvnyji5g52v4195871dhb93kzyzv0";
};
propagatedBuildInputs = with pkgs.python3Packages; [ polib pymd4c ];
};
}
|