ma udpt,esptool: now in upstream

This commit is contained in:
makefu 2017-09-29 10:04:56 +02:00
parent ba907218ef
commit f7b367e96d
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 0 additions and 60 deletions

View File

@ -1,31 +0,0 @@
{ pkgs, fetchFromGitHub, ... }:
with pkgs.python2Packages;
let
pyaes = buildPythonPackage rec {
name = "pyaes-${version}";
version = "1.6.0";
src = fetchFromGitHub {
owner = "ricmoo";
repo = "pyaes";
rev = "v${version}";
sha256 = "04934a9zgwc8g3qhfrkcfv0bs557paigllnkrnfhp9m1azr3bfqb";
};
doCheck = false;
};
in
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "esptool";
version = "2.1";
propagatedBuildInputs = [
pyserial
flake8
ecdsa
pyaes
];
src = fetchPypi {
inherit pname version;
sha256 = "08g393fiqhanixzjbs54pqr6xk1a4dsfaddw7gdwfvp3kvwdn2fp";
};
doCheck = false;
}

View File

@ -1,29 +0,0 @@
{ stdenv, boost, sqlite, fetchFromGitHub }:
stdenv.mkDerivation rec {
proj = "udpt";
name = "udpt-${rev}";
rev = "0790558";
enableParallelBuilding = true;
src = fetchFromGitHub {
owner = "naim94a";
repo = "udpt";
inherit rev;
sha256 = "0rgkjwvnqwbnqy7pm3dk176d3plb5lypaf12533yr0yfzcp6gnzk";
};
buildInputs = [ boost sqlite ];
installPhase = ''
mkdir -p $out/bin $out/etc/
cp udpt $out/bin
cp udpt.conf $out/etc/
'';
meta = {
description = "udp tracker";
homepage = https://github.com/naim94a/udpt;
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ makefu ];
};
}