diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-01-15 09:23:28 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-01-15 09:23:28 +0100 |
commit | 2a88c3c30291206f61b2d235aca4df213b50ca38 (patch) | |
tree | 3e8436891e13f3790e7fe6a30e3d74ac1863927a /pkgs/applications/science/math | |
parent | c1d011a689d49d363e0c8f6e279db1482d651b54 (diff) | |
parent | 7119d076248b6e329007a20657972625501c6e09 (diff) | |
download | nixpkgs-2a88c3c30291206f61b2d235aca4df213b50ca38.tar nixpkgs-2a88c3c30291206f61b2d235aca4df213b50ca38.tar.gz nixpkgs-2a88c3c30291206f61b2d235aca4df213b50ca38.tar.bz2 nixpkgs-2a88c3c30291206f61b2d235aca4df213b50ca38.tar.lz nixpkgs-2a88c3c30291206f61b2d235aca4df213b50ca38.tar.xz nixpkgs-2a88c3c30291206f61b2d235aca4df213b50ca38.tar.zst nixpkgs-2a88c3c30291206f61b2d235aca4df213b50ca38.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r-- | pkgs/applications/science/math/nota/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/nota/default.nix b/pkgs/applications/science/math/nota/default.nix new file mode 100644 index 00000000000..897785ef6e8 --- /dev/null +++ b/pkgs/applications/science/math/nota/default.nix @@ -0,0 +1,40 @@ +{ 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 + ]; + + description = "The most beautiful command line calculator"; + homepage = "https://kary.us/nota"; + license = lib.licenses.mpl20; + maintainers = with lib.maintainers; [ dtzWill ]; +} |