1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

+ virtualenv, ~ git-quick-stats

This commit is contained in:
Kierán Meinhardt
2019-06-05 19:37:13 +02:00
parent 75bf251bf7
commit 4a46aad1c8
4 changed files with 43 additions and 3 deletions

View File

@@ -14,6 +14,7 @@
py.docopt
py.schema
py.ansicolors
py.virtualenv
])
)
];

14
example-git.nix Normal file
View File

@@ -0,0 +1,14 @@
{
imports = [ modules/git.nix ];
niveum.git = {
enable = true;
repositories.niveum = {
enable = true;
location = "/home/kfm/prog/git/niveum";
remotes.origin = https://github.com/kmein/niveum;
branches = [ "master" ];
autoFetch = [ { remote = "origin"; branch = "master"; } ];
};
};
}

View File

@@ -1,14 +1,21 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "git-quick-stats";
pname = "git-quick-stats";
version = "2.0.8";
src = fetchFromGitHub {
repo = name;
repo = "git-quick-stats";
owner = "arzzen";
rev = "c11bce17bdb1c7f1272c556605b48770646bf807";
rev = "${version}";
sha256 = "1px1sk7b6mjnbclsr1jn33m9k4wd8wqyw4d6w1rgj0ii29lhzmqi";
};
installPhase = ''
PREFIX=$out make install
'';
meta = with stdenv.lib; {
homepage = "https://github.com/arzzen/git-quick-stats";
description = "Git quick statistics is a simple and efficient way to access various statistics in git repository.";
platforms = platforms.all;
maintainers = [ maintainers.kmein ];
license = licenses.mit;
};
}

18
packages/manimlib.nix Normal file
View File

@@ -0,0 +1,18 @@
{ stdenv, buildPythonApplication, fetchPypi, argparse, colour, numpy, pillow, scipy, tqdm, opencv, pycairo, pydub }:
buildPythonApplication rec {
pname = "manimlib";
version = "0.1.5";
src = fetchPypi {
inherit pname version;
sha256 = "1hrb94zawngn6pm31185sdg91a66y4lwagwcry3k9a3rk8w81f7m";
};
propagatedBuildInputs = [ argparse colour numpy pillow scipy tqdm opencv pycairo pydub ];
doCheck = false;
meta = with stdenv.lib; {
description = "Animation engine for explanatory math videos";
homepage = "https://github.com/3b1b/manim";
license = license.mit;
maintainers = [ maintainers.kmein ];
};
}