nota: 1.0 -> 1.0-unstable-2023-03-01

Homepage: https://github.com/pouyakary/Nota

The url in the fetchurl function no longer exists, the website domain is
for sale. The same holds for the homepage listed. Therefore, the urls
have been updated to the current versions.

The description has been updated to align with the README for pkgs
contributions, namely, that the description should "Avoid subjective
language."

+10 -11
+10 -11
pkgs/by-name/no/nota/package.nix
··· 1 1 { 2 2 haskellPackages, 3 - fetchurl, 3 + fetchFromGitHub, 4 4 lib, 5 5 }: 6 6 7 7 haskellPackages.mkDerivation rec { 8 8 pname = "nota"; 9 - version = "1.0"; 9 + version = "1.0-unstable-2023-03-01"; 10 10 11 - # Can't use fetchFromGitLab since codes.kary.us doesn't support https 12 - src = fetchurl { 13 - url = "http://codes.kary.us/nota/nota/-/archive/V${version}/nota-V${version}.tar.bz2"; 14 - sha256 = "0bbs6bm9p852hvqadmqs428ir7m65h2prwyma238iirv42pk04v8"; 11 + src = fetchFromGitHub { 12 + owner = "pouyakary"; 13 + repo = "Nota"; 14 + rev = "3548b864e5aa30ffbf1704a79dbb3bd3aab813be"; 15 + hash = "sha256-96T9uxUEV22/vn6aoInG1UPXbzlDHswOSkywkdwsMeY="; 15 16 }; 16 17 17 - postUnpack = '' 18 - export sourceRoot=$sourceRoot/source 19 - ''; 18 + sourceRoot = "${src.name}/source"; 20 19 21 20 isLibrary = false; 22 21 isExecutable = true; ··· 37 36 time 38 37 ]; 39 38 40 - description = "Most beautiful command line calculator"; 41 - homepage = "https://kary.us/nota"; 39 + description = "Command line calculator"; 40 + homepage = "https://pouyakary.org/nota/"; 42 41 license = lib.licenses.mpl20; 43 42 maintainers = [ ]; 44 43 mainProgram = "nota";