Unverified Commit d6a6ad8e authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

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

parents b7408e36 4d93febf
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{
  mkDerivation,
  haskellPackages,
  fetchurl,
  fetchFromGitHub,
  lib,
}:

mkDerivation rec {
haskellPackages.mkDerivation rec {
  pname = "nota";
  version = "1.0";
  version = "1.0-unstable-2023-03-01";

  # 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";
  src = fetchFromGitHub {
    owner = "pouyakary";
    repo = "Nota";
    rev = "3548b864e5aa30ffbf1704a79dbb3bd3aab813be";
    hash = "sha256-96T9uxUEV22/vn6aoInG1UPXbzlDHswOSkywkdwsMeY=";
  };

  postUnpack = ''
    export sourceRoot=$sourceRoot/source
  '';
  sourceRoot = "${src.name}/source";

  isLibrary = false;
  isExecutable = true;
@@ -38,8 +36,8 @@ mkDerivation rec {
    time
  ];

  description = "Most beautiful command line calculator";
  homepage = "https://kary.us/nota";
  description = "Command line calculator";
  homepage = "https://pouyakary.org/nota/";
  license = lib.licenses.mpl20;
  maintainers = [ ];
  mainProgram = "nota";
+0 −2
Original line number Diff line number Diff line
@@ -14396,8 +14396,6 @@ with pkgs;

  liblapack = lapack-reference;

  nota = haskellPackages.callPackage ../applications/science/math/nota { };

  notus-scanner = with python3Packages; toPythonApplication notus-scanner;

  openblas = callPackage ../development/libraries/science/math/openblas {