Compare commits
No commits in common. "0dd4f4c956a0e0fe61606b9a5e2b41c5d4629d1b" and "3480ab8216635317525cd221c31017ea91d8562a" have entirely different histories.
0dd4f4c956
...
3480ab8216
3 changed files with 2 additions and 58 deletions
|
|
@ -63,11 +63,7 @@ outputs = { self, nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-
|
||||||
export PS1="$PS1(toast-configs)> "
|
export PS1="$PS1(toast-configs)> "
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
packages = {
|
|
||||||
x86_64-linux = with import nixpkgs-unstable { system = "x86_64-linux"; }; {
|
|
||||||
pseint = callPackage ./pkgs/pseint.nix {};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
Archie = nixpkgs-unstable.lib.nixosSystem {
|
Archie = nixpkgs-unstable.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
@ -86,7 +82,6 @@ outputs = { self, nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-
|
||||||
./roles/desktop
|
./roles/desktop
|
||||||
./roles/kde
|
./roles/kde
|
||||||
./roles/gaming
|
./roles/gaming
|
||||||
./roles/school
|
|
||||||
./machines/Archie
|
./machines/Archie
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,50 +0,0 @@
|
||||||
{ stdenv
|
|
||||||
, lib
|
|
||||||
, fetchurl
|
|
||||||
, wxGTK32
|
|
||||||
, libX11
|
|
||||||
, libglvnd
|
|
||||||
, libGLU
|
|
||||||
, gsettings-desktop-schemas
|
|
||||||
, makeBinaryWrapper
|
|
||||||
, wrapGAppsHook
|
|
||||||
}:
|
|
||||||
# Based on https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pseint
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "pseint";
|
|
||||||
version = "20230517";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://netactuate.dl.sourceforge.net/project/${pname}/${version}/${pname}-src-${version}.tgz";
|
|
||||||
hash = "sha256-8zc7CtDQ9RjXLAVQTigstPqdDJsR8ffBopxBFzVP+eI=";
|
|
||||||
};
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
buildInputs = [ wxGTK32 libglvnd libGLU libX11 gsettings-desktop-schemas ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ makeBinaryWrapper wrapGAppsHook ];
|
|
||||||
|
|
||||||
# Build for linux
|
|
||||||
makeFlags = [ "ARCH=lnx" ];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
runHook preInstall
|
|
||||||
|
|
||||||
mkdir -p $out/opt/${pname}/ $out/bin/
|
|
||||||
cp -rv bin/* $out/opt/${pname}/
|
|
||||||
makeBinaryWrapper $out/opt/${pname}/pseint $out/bin/pseint
|
|
||||||
|
|
||||||
runHook postInstall
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "A tool for learning programming basis with a simple spanish pseudocode";
|
|
||||||
homepage = "https://pseint.sourceforge.net/";
|
|
||||||
downloadPage = "https://pseint.sourceforge.net/index.php?page=descargas.php";
|
|
||||||
changelog = "https://pseint.sourceforge.net/index.php?page=cambios.php";
|
|
||||||
# Website says GPLv2, so I'm assuming I need to use gpl2Only
|
|
||||||
license = lib.licenses.gpl2Only;
|
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, flakeSelf, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -7,6 +7,5 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
dia
|
dia
|
||||||
flakeSelf.packages.x86_64-linux.pseint
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue