32 lines
451 B
Nix
32 lines
451 B
Nix
{
|
|
buildPythonApplication,
|
|
lib,
|
|
nix-prefetch-git,
|
|
git,
|
|
nix,
|
|
glibcLocales,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonApplication {
|
|
name = "nur";
|
|
src = ./.;
|
|
pyproject = true;
|
|
build-system = [ setuptools ];
|
|
|
|
doCheck = false;
|
|
|
|
makeWrapperArgs = [
|
|
"--prefix"
|
|
"PATH"
|
|
":"
|
|
"${lib.makeBinPath [
|
|
nix-prefetch-git
|
|
git
|
|
nix
|
|
]}"
|
|
"--set"
|
|
"LOCALE_ARCHIVE"
|
|
"${glibcLocales}/lib/locale/locale-archive"
|
|
];
|
|
}
|