mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +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.
34 lines
724 B
Nix
34 lines
724 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, boost
|
|
, zlib
|
|
, bzip2
|
|
, wxGTK32
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xylib";
|
|
version = "1.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/wojdyr/xylib/releases/download/v${version}/${pname}-${version}.tar.bz2";
|
|
sha256 = "1iqfrfrk78mki5csxysw86zm35ag71w0jvim0f12nwq1z8rwnhdn";
|
|
};
|
|
|
|
buildInputs = [
|
|
boost
|
|
zlib
|
|
bzip2
|
|
wxGTK32
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";
|
|
license = licenses.lgpl21;
|
|
homepage = "https://xylib.sourceforge.net/";
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|