nixpkgs/pkgs/applications/science/math/nasc/default.nix

60 lines
1.2 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ stdenv
, fetchFromGitHub
, pkgconfig
, gtk3
, glib
, pantheon
, libsoup
, gtksourceview
, libgee
, cmake
, libqalculate
, cln
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "nasc";
version = "0.5.4";
src = fetchFromGitHub {
owner = "parnold-x";
repo = pname;
rev = version;
sha256 = "036v3dx8yasp19j88lflibqnpfi5d0nk7qkcnr80zn1lvawf4wgn";
};
nativeBuildInputs = [
cmake
pantheon.vala
pkgconfig
wrapGAppsHook
];
buildInputs = [
cln
libsoup
gtk3
glib
gtksourceview
libgee
libqalculate
pantheon.elementary-icon-theme
pantheon.granite
];
meta = with stdenv.lib; {
description = "Do maths like a normal person";
longDescription = ''
Its an app where you do maths like a normal person. It lets you
type whatever you want and smartly figures out what is math and
spits out an answer on the right pane. Then you can plug those
answers in to future equations and if that answer changes, so does
the equations its used in.
'';
homepage = https://github.com/parnold-x/nasc;
maintainers = with maintainers; [ samdroid-apps ];
platforms = platforms.linux;
license = licenses.gpl3Plus;
};
}