Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created December 28, 2018 00:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exarkun/d9e532ee98f8888e39793da70e28ea83 to your computer and use it in GitHub Desktop.
Save exarkun/d9e532ee98f8888e39793da70e28ea83 to your computer and use it in GitHub Desktop.
{ pkgs, stdenv, fetchFromGitHub, python, ... }:
python.pkgs.buildPythonApplication
{
name = "naomi";
version = "2018-12-26";
src = fetchFromGitHub {
owner = "NaomiProject";
repo = "Naomi";
rev = "dd6135f794d6bc7521eaba38a1562e5bb6ef75b1";
sha256 = "08lpjpqhpx1x5d46gzqxlym0a02g47l52kmfc8p25h3zscq7hmh5";
};
buildInputs =
[
pkgs.gettext
];
propagatedBuildInputs =
[
python.pkgs.argparse
];
postBuild = ''
./compile_translations.sh
'';
}
installing
/tmp/nix-build-naomi.drv-4/source/dist /tmp/nix-build-naomi.drv-4/source
Processing ./naomi-2.0a1.dev1-py2-none-any.whl
Collecting argparse (from naomi==2.0a1.dev1)
Could not find a version that satisfies the requirement argparse (from naomi==2.0a1.dev1) (from versions: )
No matching distribution found for argparse (from naomi==2.0a1.dev1)
note: keeping build directory '/tmp/nix-build-naomi.drv-4'
builder for '/nix/store/lq82c23dknfxnmgdddwrc2x1r8029lnz-naomi.drv' failed with exit code 1
cannot build derivation '/nix/store/q5lwmks3y2qcpp2s0nhpc6d6qwg9ljin-bulk-layers.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/8w0k33dql9va5dprdc1yabcl42ipajjx-closure.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/v0p6p4a713xy3pxnd0kzqpr4khwglvfv-naomi-rpi-customisation-layer.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/zpdpsi3imqw5fl7fixjbvc7n7rg52xrd-docker-image-naomi-rpi.tar.gz.drv': 1 dependencies couldn't be built
error: build of '/nix/store/zpdpsi3imqw5fl7fixjbvc7n7rg52xrd-docker-image-naomi-rpi.tar.gz.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment