2018-03-10 11:21:36 +00:00
|
|
|
|
{ stdenv
|
|
|
|
|
, fetchFromGitHub
|
|
|
|
|
, pkgconfig
|
|
|
|
|
, gtk3
|
2019-03-21 02:53:41 +00:00
|
|
|
|
, glib
|
2018-08-20 20:31:18 +00:00
|
|
|
|
, pantheon
|
2019-03-21 02:53:41 +00:00
|
|
|
|
, libsoup
|
2019-02-13 21:47:50 +00:00
|
|
|
|
, gtksourceview
|
|
|
|
|
, libgee
|
2018-03-10 11:21:36 +00:00
|
|
|
|
, cmake
|
|
|
|
|
, libqalculate
|
2019-03-21 02:53:41 +00:00
|
|
|
|
, cln
|
|
|
|
|
, wrapGAppsHook
|
|
|
|
|
}:
|
2018-03-10 11:21:36 +00:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-21 02:53:41 +00:00
|
|
|
|
pname = "nasc";
|
2019-05-15 21:59:26 +00:00
|
|
|
|
version = "0.5.4";
|
2018-03-10 11:21:36 +00:00
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "parnold-x";
|
2019-03-21 02:53:41 +00:00
|
|
|
|
repo = pname;
|
2018-03-10 11:21:36 +00:00
|
|
|
|
rev = version;
|
2019-05-15 21:59:26 +00:00
|
|
|
|
sha256 = "036v3dx8yasp19j88lflibqnpfi5d0nk7qkcnr80zn1lvawf4wgn";
|
2018-03-10 11:21:36 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
|
cmake
|
2018-08-20 20:31:18 +00:00
|
|
|
|
pantheon.vala
|
|
|
|
|
pkgconfig
|
|
|
|
|
wrapGAppsHook
|
2018-03-10 11:21:36 +00:00
|
|
|
|
];
|
2018-11-10 13:15:27 +00:00
|
|
|
|
|
2018-03-10 11:21:36 +00:00
|
|
|
|
buildInputs = [
|
2019-03-21 02:53:41 +00:00
|
|
|
|
cln
|
|
|
|
|
libsoup
|
|
|
|
|
gtk3
|
|
|
|
|
glib
|
2019-02-13 21:47:50 +00:00
|
|
|
|
gtksourceview
|
|
|
|
|
libgee
|
2018-11-02 20:01:05 +00:00
|
|
|
|
libqalculate
|
2019-03-21 02:53:41 +00:00
|
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
|
pantheon.granite
|
2018-03-10 11:21:36 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "Do maths like a normal person";
|
|
|
|
|
longDescription = ''
|
|
|
|
|
It’s 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 it’s used in.
|
|
|
|
|
'';
|
|
|
|
|
homepage = https://github.com/parnold-x/nasc;
|
|
|
|
|
maintainers = with maintainers; [ samdroid-apps ];
|
|
|
|
|
platforms = platforms.linux;
|
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
|
};
|
|
|
|
|
}
|