2020-04-24 23:36:52 +00:00
|
|
|
{ mkDerivation, haskellPackages, fetchurl, lib }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "nota";
|
|
|
|
version = "1.0";
|
|
|
|
|
|
|
|
# Can't use fetchFromGitLab since codes.kary.us doesn't support https
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://codes.kary.us/nota/nota/-/archive/V${version}/nota-V${version}.tar.bz2";
|
|
|
|
sha256 = "0bbs6bm9p852hvqadmqs428ir7m65h2prwyma238iirv42pk04v8";
|
|
|
|
};
|
|
|
|
|
|
|
|
postUnpack = ''
|
|
|
|
export sourceRoot=$sourceRoot/source
|
|
|
|
'';
|
|
|
|
|
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
|
|
|
|
libraryHaskellDepends = with haskellPackages; [
|
|
|
|
base
|
|
|
|
bytestring
|
|
|
|
array
|
|
|
|
split
|
|
|
|
scientific
|
|
|
|
parsec
|
|
|
|
ansi-terminal
|
|
|
|
regex-compat
|
|
|
|
containers
|
|
|
|
terminal-size
|
|
|
|
numbers
|
|
|
|
text
|
|
|
|
time
|
|
|
|
];
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Most beautiful command line calculator";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://kary.us/nota";
|
|
|
|
license = lib.licenses.mpl20;
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "nota";
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|