mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
zegrapher: migrate to by-name (#347631)
This commit is contained in:
commit
7996a7cf4a
@ -1,37 +1,46 @@
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, qmake
|
||||
, wrapQtAppsHook
|
||||
, boost }:
|
||||
{
|
||||
lib,
|
||||
boost,
|
||||
fetchFromGitHub,
|
||||
qt5,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
inherit (qt5) qmake wrapQtAppsHook;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "zegrapher";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AdelKS";
|
||||
repo = "ZeGrapher";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-OSQXm0gDI1zM2MBM4iiY43dthJcAZJkprklolsNMEvk=";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-OSQXm0gDI1zM2MBM4iiY43dthJcAZJkprklolsNMEvk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
qmake
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://zegrapher.com/";
|
||||
strictDeps = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://zegrapher.com/en/";
|
||||
description = "Open source math plotter";
|
||||
mainProgram = "ZeGrapher";
|
||||
longDescription = ''
|
||||
An open source, free and easy to use math plotter. It can plot functions,
|
||||
sequences, parametric equations and data on the plane.
|
||||
'';
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
license = lib.licenses.gpl3Plus;
|
||||
mainProgram = "ZeGrapher";
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
@ -36307,8 +36307,6 @@ with pkgs;
|
||||
fftw = fftwSinglePrec;
|
||||
});
|
||||
|
||||
zegrapher = libsForQt5.callPackage ../applications/science/math/zegrapher { };
|
||||
|
||||
### SCIENCE/MEDICINE
|
||||
|
||||
dcmtk = callPackage ../applications/science/medicine/dcmtk { };
|
||||
|
Loading…
Reference in New Issue
Block a user