mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
24 lines
668 B
Nix
24 lines
668 B
Nix
{ lib, fetchFromGitHub, python3Packages }:
|
|
|
|
python3Packages.buildPythonApplication {
|
|
pname = "xdxf2slob";
|
|
version = "unstable-2015-06-30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "itkach";
|
|
repo = "xdxf2slob";
|
|
rev = "6831b93c3db8c73200900fa4ddcb17350a677e1b";
|
|
sha256 = "0m3dnc3816ja3kmik1wabb706dkqdf5sxvabwgf2rcrq891xcddd";
|
|
};
|
|
|
|
propagatedBuildInputs = [ python3Packages.pyicu python3Packages.slob ];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to convert XDXF dictionary files to slob format";
|
|
homepage = "https://github.com/itkach/xdxf2slob/";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.all;
|
|
mainProgram = "xdxf2slob";
|
|
};
|
|
}
|