nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit d4d6f41d90b016b3c5637b4e163153c4489cea5c
parent b705e1343e81e9fd6ae5927bd8d89cccf017ce77
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Wed, 24 Jun 2020 23:32:45 +0300

Minor fixes

Diffstat:
Mpkgs/development/libraries/foma/default.nix | 6+++---
Mpkgs/development/python-modules/python-hfst/default.nix | 4++--
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/pkgs/development/libraries/foma/default.nix b/pkgs/development/libraries/foma/default.nix @@ -5,18 +5,18 @@ stdenv.mkDerivation rec { version = stdenv.lib.substring 0 7 src.rev; src = sources.foma; + sourceRoot = "source/foma"; + nativeBuildInputs = [ bison flex libtool ]; buildInputs = [ ncurses readline zlib ]; postPatch = '' - substituteInPlace foma/Makefile \ + substituteInPlace Makefile \ --replace "CC = gcc" "#CC = gcc" \ --replace "-ltermcap" "-lncurses" ''; - preConfigure = "cd foma"; - makeFlags = [ "prefix=$(out)" ]; meta = with stdenv.lib; { diff --git a/pkgs/development/python-modules/python-hfst/default.nix b/pkgs/development/python-modules/python-hfst/default.nix @@ -4,12 +4,12 @@ buildPythonPackage rec { pname = "python-hfst"; inherit (hfst) src version; + sourceRoot = "source/python"; + buildInputs = [ hfst ]; nativeBuildInputs = [ swig ]; - preConfigure = "cd python"; - meta = with lib; { description = "Python bindings for HFST"; homepage = "https://github.com/hfst/python/wiki";