Skip to content

Commit

Permalink
Use
Browse files Browse the repository at this point in the history
  • Loading branch information
NewDawn0 committed Dec 15, 2024
1 parent 998be61 commit 6817b6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
14 changes: 3 additions & 11 deletions pkgs/by-name/as/ascii-weather/package.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
{
fetchFromGitHub,
gcc,
gnumake,
lib,
ncurses,
stdenv,
gccStdenv,
}:
stdenv.mkDerivation {
name = "ascii-weather";
gccStdenv.mkDerivation {
pname = "ascii-weather";
version = "1.0.0";
src = fetchFromGitHub {
owner = "NewDawn0";
repo = "asciiWeather";
rev = "70bf111647d064c3fcd0fe672b9fa697f4d060e4";
hash = "sha256-Dcosx6iEnvFCMrmUS7gSLg8re5zl1BXWX/Nu6hr4Pgw=";
};
buildInputs = [
gcc
gnumake
ncurses
];
buildPhase = "make build";
installPhase = ''
mkdir -p $out/bin
cp ascii-weather $out/bin
Expand Down
11 changes: 2 additions & 9 deletions pkgs/by-name/cd/cd-up/package.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
fetchFromGitHub,
gcc,
gnumake,
lib,
stdenv,
gccStdenv,
}:
stdenv.mkDerivation {
gccStdenv.mkDerivation {
pname = "up-core";
name = "up";
version = "1.0.0";
Expand All @@ -25,11 +23,6 @@ stdenv.mkDerivation {
shellHook = ''
source $out/lib/SOURCE_ME.sh
'';
buildInputs = [
gcc
gnumake
];
buildPhase = "make build";
meta = {
description = "A tool to navigate up directories more swiftly";
longDescription = ''
Expand Down

0 comments on commit 6817b6a

Please sign in to comment.