mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
26 lines
521 B
Nix
26 lines
521 B
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "graphs";
|
|
version = "20210214";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sageupstream/${pname}/${pname}-${version}.tar.bz2";
|
|
sha256 = "sha256-ByN8DZhTYRUFw4n9e7klAMh0P1YxurtND0Xf2DMvN0E=";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out/share/graphs"
|
|
cp * "$out/share/graphs/"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Database of graphs";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.all;
|
|
maintainers = teams.sage.members;
|
|
};
|
|
}
|