nota: 1.0 -> 1.0-unstable-2023-03-01 (#440815)

Changed files
+44 -48
pkgs
applications
science
math
by-name
no
top-level
-46
pkgs/applications/science/math/nota/default.nix
···
-
{
-
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 = "Most beautiful command line calculator";
-
homepage = "https://kary.us/nota";
-
license = lib.licenses.mpl20;
-
maintainers = [ ];
-
mainProgram = "nota";
-
}
+44
pkgs/by-name/no/nota/package.nix
···
+
{
+
haskellPackages,
+
fetchFromGitHub,
+
lib,
+
}:
+
+
haskellPackages.mkDerivation rec {
+
pname = "nota";
+
version = "1.0-unstable-2023-03-01";
+
+
src = fetchFromGitHub {
+
owner = "pouyakary";
+
repo = "Nota";
+
rev = "3548b864e5aa30ffbf1704a79dbb3bd3aab813be";
+
hash = "sha256-96T9uxUEV22/vn6aoInG1UPXbzlDHswOSkywkdwsMeY=";
+
};
+
+
sourceRoot = "${src.name}/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 = "Command line calculator";
+
homepage = "https://pouyakary.org/nota/";
+
license = lib.licenses.mpl20;
+
maintainers = [ ];
+
mainProgram = "nota";
+
}
-2
pkgs/top-level/all-packages.nix
···
liblapack = lapack-reference;
-
nota = haskellPackages.callPackage ../applications/science/math/nota { };
-
notus-scanner = with python3Packages; toPythonApplication notus-scanner;
openblas = callPackage ../development/libraries/science/math/openblas {